S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
54-8
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 54 Configuring Call Home
Customized Alert Group Messages
Customized Alert Group Messages
The predefined Call Home alert groups generate notification messages when certain events occur on the
switch. You can customize predefined alert groups to execute additional valid
show
commands when
specific events occur. The output from these additional
show
commands is included in the notification
message along with that of the predefined
show
commands.
Note
You can assign a maximum of five user-defined
show
commands to an alert group. Only
show
commands
can be assigned to an alert group.
Note
Customized show commands are only supported for full text and XML alert groups. Short text alert
groups (short-txt-destination) do not support customized
show
commands because they only allow 128
bytes of text.
To assign
show
commands to be executed when an alert is sent, you must associate the commands with
the alert group. When an alert is sent, Call Home associates the alert group with an alert type and attaches
the output of the
show
commands to the alert message.
Step 7
switch(config-callhome)#
destination-profile
test1 alert-group inventory
Optional. Configures user-defined destination
message profile (test1) to receive Call Home
notifications for inventory status events.
switch(config-callhome)#
destination-profile
short-txt-destination alert-group inventory
Optional. Configures predefined short-text
destination message profile to receive Call
Home notifications for inventory status events.
Step 8
switch(config-callhome)#
destination-profile
test1 alert-group linecard-hardware
Optional. Configures user-defined destination
message profile (test1) to receive Call Home
notifications for module-related events.
switch(config-callhome)#
destination-profile
short-txt-destination alert-group
linecard-hardware
Optional. Configures predefined short-text
destination message profile to receive Call
Home notifications for module-related events.
Step 9
switch(config-callhome)#
destination-profile
test1 alert-group supervisor-hardware
Optional. Configures user-defined destination
message profile (test1) to receive Call Home
notifications for supervisor-related events.
switch(config-callhome)#
destination-profile
short-txt-destination alert-group
supervisor-hardware
Optional. Configures predefined short-text
destination message profile to receive Call
Home notifications for supervisor-related
events.
Step 10
switch(config-callhome)#
destination-profile
test1 alert-group system
Optional. Configures user-defined destination
message profile (test1) to receive Call Home
notifications for software-related events.
switch(config-callhome)#
destination-profile
short-txt-destination alert-group system
Optional. Configures predefined short-text
destination message profile to receive Call
Home notifications for software-related events.
Command
Purpose