SET ALERTCLOSEDDURATION (Set the duration of a closed alert)
Use this command to specify how long an alert remains closed before it is deleted.
Privilege class
To issue this command, you must have system privilege.
Parameters
- number_mins (Required)
- Specifies the number of minutes that an alert remains closed before it is deleted. Setting the value to 0 causes alerts to be deleted immediately after they are closed. Specify a value from 0 to 99999. The default value is set to 60 minutes when the IBM Spectrum Protect™ server database is initially formatted.
Delete alerts two hours after they are closed
Specify
that alerts remain closed for 120 minutes before they are deleted:
set alertclosedduration 120
Related commands
Command | Description |
---|---|
QUERY MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) | Displays information about monitoring alerts and server status settings. |
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 ALERTMONITOR (Set the alert monitor to on or off) | Specifies whether alert monitoring is set to on or off. |
SET ALERTUPDATEINTERVAL (Set how often the alert monitor updates and prunes alerts) | Specifies how often the alert monitor updates and prunes alerts from the database. |