UPDATE ALERTTRIGGER (Update a defined alert trigger)
Use this command to update the attributes of one or more alert triggers.
Privilege class
To issue this command, you must have system privilege.
Syntax
.-,-----------------. V | >>-UPDate ALERTTrigger----+--message_number-+-------------------> .-CAtegory--=--SErver----------. >--+------------------------------+-----------------------------> '-CAtegory--=--+-APplication-+-' +-INventory---+ +-CLient------+ +-DEvice------+ +-SErver------+ +-STorage-----+ +-SYstem------+ '-VMclient----' >--+-----------------------------+--+-----------------------------+->< | .-,----------. | | .-,----------. | | V | | | V | | '-ADDadmin--=----admin_name-+-' '-DELadmin--=----admin_name-+-'
Parameters
- message_number (Required)
- Specifies the message number that you want to associate with the alert trigger. Specify multiple message numbers, which are separated by commas, and no intervening spaces. Message numbers are a maximum of eight characters in length.
- CATegory
- Specifies the category type for the alert, which is determined
by the message types. The default value is SERVER. Note: Changing the category of an alert trigger does not change the category of existing alerts on the server. New alerts are categorized with the new category.Specify one of the following values:
- APplication
- Alert is classified as application category. For example, you can specify this category for messages that are associated with application (TDP) clients.
- INventory
- Alert is classified as inventory category. For example, you can specify this category for messages that are associated with the database, active log file, or archive log file.
- CLient
- Alert is classified as client category. For example, you can specify this category for messages that are associated with general client activities.
- DEvice
- Alert is classified as device category. For example, you can specify this category for messages that are associated with device classes, libraries, drives, or paths.
- SErver
- Alert is classified as general server category. For example, you can specify this category for messages that are associated with general server activities or events.
- STorage
- Alert is classified as storage category. For example, you can specify this category for messages that are associated with storage pools.
- SYstems
- Alert is classified under system clients category. For example, you can specify this category for messages that are associated with system backup and archive or hierarchical storage management (HSM) backup-archive clients.
- VMclient
- Alert is classified under VMclient category. For example, you can specify this category for messages that are associated with virtual machine clients.
- ADmin
- This optional parameter specifies the name of the administrator who receives email notification of this alert. The alert trigger is defined successfully even if no administrator names are specified.
- ADDadmin
- Specifies the administrator name that you want to add to the list of administrators that receive email alerts. Specify multiple administrator names, which are separated by commas, and no intervening spaces.
- DELadmin
- Specifies the administrator name that you want to delete from the list of administrators that receive email alerts. Specify multiple administrator names, which are separated by commas, and no intervening spaces.
Update alert trigger
Add the names of the
administrators that want to be notified when ANR1073E, ANR1074E alerts
occur, and also delete the name of an administrator that no longer
wants to be notified, by issuing the following command:
update alerttrigger ANR1073E,ANR1074E ADDadmin=djee,cdawson,mhaye deladmin=harryh
Related commands
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 ALERTSTATUS (Update the status of an alert) | Updates the status of a reported alert. |