HP

HP Systems Insight Manager Technical Reference Guide

English
  Administering Systems and Events  |  Examples of Event Tasks  |  Creating a Task to Delete All Cleared Events   

Creating a Task to Delete All Cleared Events

»Table of Contents
»Index
»Notices
»Introduction
»Product Overview
»Getting Started
»Discovery and Identification
»Users and Authorizations
»Networking and Security
»Monitoring Systems, Clusters, and Events
»Storage Integration
»Managing with Tasks
»Tools that Extend Management
»Partner Applications
»Reporting
»Administering Systems and Events
»Events
»Examples of Event Tasks
»Creating a Paging Task Based on E-mail Notification
Creating a Task to Delete All Cleared Events
»Creating a Task to Delete Events Older than Thirty Days
»Creating a Task to Send an E-mail When a System Reaches a Critical State
»Status Polling
»WMI Mapper Proxy
»Protocols
»Data Collection
»System Properties
»Version Control Repository
»PMP Administrative Options
»Setting Up Managed Systems
»Managing SSH Keys
»Backing Up and Restoring the Database
»Configuring SSH Bypass Properties
»Audit Log
»Troubleshooting
»Reference Information
»Printable version
»Glossary
»Using Help
» Creating the Event Collection
» Creating and Scheduling the Task
» Related Procedures
» Related Topic

The following example describes how to create a task to delete all cleared server events from the HP Systems Insight Manager (HP SIM) database. This is a useful task to include in your management portfolio because deleting cleared events on a regular basis empties the database of unnecessary entries and improves system performance.

The following task has two segments:

  • Creating an event collection that contains the events you want to delete

  • Creating and schedule the task to delete all cleared server events and run the task

Creating the Event Collection

  1. Select Search panel, click Advanced Search. The Advanced Search page appears.

  2. Select events from the Search for dropdown list.

  3. From the first selection box (criteria selection), click the down arrow, and select cleared state.

  4. From the second selection box (comparison selection), click the down arrow, and select is.

  5. In the third selection box (value selection), the available values for a given criteria or comparison combination are given. Select cleared.

  6. Click [Add] to add the system type criteria.

  7. From the first selection box (criteria selection), click the down arrow, and select system type.

  8. From the second selection box (comparison selection), click the down arrow, and select is.

  9. In the third selection box (value selection), the available values for a given criteria or comparison combination are given. Select server.

  10. (Optional) Click [View] to view the search results.

  11. Click [Save As] to save the event collection.

  12. In the Name field, enter a name for the collection, such as Delete Cleared Server Events.

  13. Under Place in Folder, select to save the collection in Events by Severity to have it available to other users.

  14. Click [OK] to save the collection, or click [Cancel] to cancel the save operation.

Creating and Scheduling the Task

  1. Select OptionsEventsClear Events. The Clear Events page appears.

  2. Select the Delete Cleared Server Events collection. Select Select "Delete Cleared Server Events" itself.

  3. Click [Apply].

  4. Click [Schedule].

  5. In the Task name box, give the task a name, such as Delete Cleared Server Events.

  6. In the Refine schedule section, select the scheduling option that you prefer. Refer to Managing with Tasks - Scheduling a Task for more information on scheduling the task.

  7. Click [Done]. The task is now scheduled and the All Scheduled Tasks page appears.

    To run this task at any time, select Tasks & LogsView Task Results. Then select Delete Informational Events from the table and click [Run Now]. Refer to Scheduling a Task - Running a Scheduled Task for more information.

Related Procedures

» Searching for Systems and Events - Performing an Advanced Search for Events
» Monitoring Systems, Clusters, and Events - Saving Collections
» Event Table View Page - Deleting Events from the Database

Related Topic

» System Table View Page - Navigating the Tree View