UPDATE ALERTSTATUS (Update the status of an alert)

Use this command to update the status of a reported alert.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagram
                       .-,-----------.   
                       V             |   
>>-UPDate ALERTSTatus----+--alert_id-+-------------------------->

>--+-------------------------+--+-------------------+----------->
   '-STatus--=--+-Inactive-+-'  '-ASSigned--=--text-'   
                '-Closed---'                            

>--+---------------------+--+-----------------+----------------><
   '-RESolvedby--=--text-'  '-REMark--=--text-'   

Parameters

alert_id (Required)
Species the alert that you want to update. You can specify multiple message numbers by separating them with commas and no intervening spaces.
STatus
Specifies the status type that you want to update. Alerts can be changed from active to inactive or closed, or from inactive to closed. Possible values are:
Inactive
Active alerts can be changed to inactive status.
Closed
Active and inactive alerts can be changed to closed status.
ASSigned
Specifies the administrator name that is assigned the alert that you want to query.
RESolvedby
Specifies the administrator name that resolved the alert that you want to query.
REMark
This parameter specifies comment text. The comment text cannot exceed 255 characters. If the description contains any blank spaces, enclose the entire text in quotation marks (""). Remove previously defined text by specifying a null string ("") for this value.

Update the comment text in an alert

Issue the following command to update the comment text for alert ID number 25 and indicate that DJADMIN is working on the alert:
update alertstatus 25 assigned=DJADMIN

Update alert status

Issue the following command to change alert ID number 72 to the closed status, and add a remark about how the alert was resolved:
update alertstatus 72 status=closed remark="Increased the file system size for
 the active log"

Related commands

Table 1. Commands related to UPDATE ALERTSTATUS
Command Description
DEFINE ALERTTRIGGER (Define an alert trigger) Associates specified messages to an alert trigger.
DELETE ALERTTRIGGER (Remove a message from an alert trigger) Removes a message number that can trigger an alert.
QUERY ALERTSTATUS (Query the status of an alert) Displays information about alerts that have been issued on the server.
QUERY ALERTTRIGGER (Query the list of defined alert triggers) Displays message numbers that trigger an alert.
QUERY MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) Displays information about monitoring alerts and server status settings.
UPDATE ALERTTRIGGER (Update a defined alert trigger) Updates the attributes of one or more alert triggers.