SET ALERTUPDATEINTERVAL (Set how often the alert monitor updates and prunes alerts)
Use this command to specify how often the alert monitor updates and prunes alerts that are stored in the IBM Spectrum® Protect server database.
During this check interval, the alert
monitor examines
each alert on the server and completes the following actions:
- The
alert monitor determines whether the active or inactive durations
elapsed. If the specified duration elapses, the alert status is updated
to the next state. For example:
- Active to Inactive
- Inactive to Closed
- If an alert is closed for the duration that is specified by the SET ALERTCLOSEDDURATION command, the alert is deleted.
You can use the QUERY MONITORSETTINGS command to determine whether alert monitoring is on. Use the SET ALERTMONITOR command to turn on alert monitoring.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- number_mins (Required)
- Specifies the length of time, in minutes, that the monitor waits before alerts are updated and pruned on the server. Specify a value from 1 to 9999. The server has an initial default value of 10 minutes.
Set alert update interval to 60 minutes
Specify
that alerts are updated every hour by issuing the following command:
set alertupdateinterval 60
Related commands
Command | Description |
---|---|
SET ALERTACTIVEDURATION (Set the duration of an active alert) | Specifies how long an alert remains active before it is moved to inactive status. |
SET ALERTINACTIVEDURATION (Set the duration of an inactive alert) | Specifies how long an alert remains inactive before it is closed. |
SET ALERTCLOSEDDURATION (Set the duration of a closed alert) | Specifies how long an alert remains closed before it is deleted. |
SET ALERTMONITOR (Set the alert monitor to on or off) | Specifies whether alert monitoring is set to on or off. |