Alert configuration – American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 15

Advertising
background image

Chapter Two: Command Set

9

Alert Configuration


These commands configure the way alerts are generated.

Command

Argument

Description

get alert

-t/--type snmp
For example:
get –t snmp alert

Gives the SNMP alert
configuration.

get alert

-t/--type email
For example:
get –t email alert

Gives the Email alert
configuration.

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

Deletes the SNMP specified
destination from the alert
configuration.

delete alert

-t/--type email
-v/--value <emailaddress>
-x/--xml alert
For example:
delete -t email -v [email protected] -v
[email protected] -x alert

Deletes the specified email address
from the alert configuration.

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

Configures SNMP alerts.

Note:
<alertmask:communityname:destin
ation>
For example:
<1:public:10.0.0.79>

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:

set -t email -e -v

1:1:[email protected] -s 10.0.0.79 -F ami.com -x
alert

Configures Email alerts.
<alertmask:language:emailaddr>
<1:1:[email protected]>

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.

Advertising