Alert Configuration
These commands configure the way alerts are generated.
Command
Argument
get alert
-t/--type snmp
For example:
get –t snmp alert
get alert
-t/--type email
For example:
get –t email alert
delete alert
-t/--type snmp
-v/--value <destination>
-x/--xml alert
For example:
delete -t snmp -v 10.0.3.155 -v 10.0.0.203 -x alert
delete alert
-t/--type email
-v/--value <emailaddress>
-x/--xml alert
For example:
delete -t email -v sam@yahoo.com -v
yyy@ami.com -x alert
set alert
-t/--type snmp
-e/--enable or
-d/--disable
-v/--value <alertmask:communityname:destination>
-x/--xml
For example: set –t snmp –e –v 1:public:10.10.10.5
-x alert
set alert
-t/--type email
-e/--enable or
-d/--disable
-v/--value <alertmask:language:emailaddr>
-s/--emailserver (IP address)
-F <Fully Qualified Domain Name>
-x/--xml
For example:
1:1:sam@yahoo.com -s 10.0.0.79 -F ami.com -x
alert
set -t email -e -v
Description
Gives the SNMP alert
configuration.
Gives the Email alert
configuration.
Deletes the SNMP specified
destination from the alert
configuration.
Deletes the specified email address
from the alert configuration.
Configures SNMP alerts.
Note:
<alertmask:communityname:destin
ation>
For example:
<1:public:10.0.0.79>
Configures Email alerts.
<alertmask:language:emailaddr>
<1:1:aaaa@ami.com>
Language
0-Unknown
1-English
2-Japanese
3-Korean
4-Chinese
Alert Mask:
1 - Information
2 - Warning
4 - Fatal
Any combination of the three alert
masks up to a maximum of seven
levels.
Chapter Two: Command Set
9