SET ALERTINACTIVEDURATION (Set the duration of an inactive alert)

Use this command to specify how long an alert remains inactive. After the inactive duration is past, the alert is closed.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagramSet ALERTINactiveduration number_mins

Parameters

number_mins (Required)
Specifies the number of minutes that an alert remains inactive before it is closed. You can specify a value in the range 1 - 20160. The initial server default value is 480 minutes.

Change alert status from inactive to closed after 60 minutes

Issue the following command to specify that an alert remains in inactive status for 60 minutes before it changes to closed status:
set alertinactiveduration 60

Related commands

Table 1. Commands related to SET ALERTINACTIVEDURATION
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 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.
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.