This command manages the recipients of alerts generated by the primary management module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display alert properties for all recipients | Displays alert properties for all management-module
alert recipients. Returned values for each alert recipient are:
|
alertentries |
where x is the primary management-module bay number. |
Display alert properties for alert recipients | Displays alert properties for the specified management-module
alert recipient profile. Returned values are:
|
alertentries
-recip_number
where recip_number is a number from 1 to 12 that corresponds to the recipient number assigned in the "Display alert properties for all recipients" list. |
where x is the primary management-module bay number. |
Delete alert recipient | Delete the specified alert recipient. |
alertentries
-recip_number
-del
where recip_number is a number from 1 to 12 that corresponds to the recipient number assigned in the "Display alert properties for all recipients" list. It is possible to delete an empty alert recipient. This command
can only be run by users who have one or more of the following command
authorities:
|
where x is the primary management-module bay number. |
Create alert recipient | Create the specified alert recipient. All fields must be specified when creating an alert recipient. |
alertentries
-recip_number
-n
recip_name -status alert_status
-f
filter_type
-t
notification_method -e email_addr
-i
ip_addr/hostname
where:
|
where x is the primary management-module bay number. |
Create alert recipient
(continued) |
This command can only be run by users who have
one or more of the following command authorities:
|
||
Set alert recipient name | Sets a name for the specified alert recipient. |
alertentries
-recip_number
-n
recip_name
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set alert recipient status | Sets status for the specified alert recipient. The status determines if a recipient will receive alarm notifications. |
alertentries
-recip_number
-status
alert_status
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set alert types received | Filters the types of alert that are received by the specified alert recipient. |
alertentries
-recip_number
-f
filter_type
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set alert notification method | Sets the alert notification method for the specified alert recipient. |
alertentries
-recip_number
-t
notification_method
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set alert recipient email address | Sets the email address for the specified alert
recipient. This email address is used to send alerts to the recipient
via email. The email address can be set only if the alert notification method (-t option) is set to email. The -t and -e options can be combined within the same command. |
alertentries
-recip_number
-e
email_addr
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set alert recipient IP address or hostname | Sets the IP address or hostname used to send alert
notifications to the specified alert recipient using IBM Systems Director.
The IP address or hostname used to send alert notifications can be set only if the alert notification method (-t option) is set to director (IBM Systems Director). The -t and -i options can be combined within the same command. |
alertentries
-recip_number
-i
ip_addr/hostname
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Generate test alert | Generates a test alert to verify correct alert
response.
Notes:
|
alertentries
-test
This command can only be run by users
who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
alertentries -1
alertentries -2 -n test2 -status on -f critical -t email -e test2@us.ibm.com
alertentries -3 -n test3 -status on -f none -t director -i 192.168.70.140
alertentries -4 -n test4 -status on -f none -t snmp
The following example shows the information that is returned from these commands:
system:mm[1]> alertentries -1
-status on
-n test1
-f critical
-t email
-e test1@us.ibm.com
system:mm[1]> alertentries -2 -n test2 -status on -f critical -t email
-e test2@us.ibm.com
OK
system:mm[1]> alertentries -3 -n test3 -status on -f none -t director
-i 192.168.70.140
OK
system:mm[1]> alertentries -4 -n test4 -status on -f none -t snmp
OK
system:mm[1]>