Customized Alert Group Messages - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 53
Configuring Call Home
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
Command
Step 10
switch(config-callhome)# destination-profile
test1 alert-group system
switch(config-callhome)# destination-profile
short-txt-destination alert-group system

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 the output of the predefined show commands.
You can assign a maximum of five user-defined show commands to an alert group. Only show commands
Note
can be assigned to an alert group.
Customized show commands are only supported for full text and XML alert groups. Short text alert
Note
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.
Make sure the destination profiles for a non-Cisco-TAC alert group, with a predefined show command,
Note
and the Cisco-TAC alert group are not the same.
To customize Call Home alert group messages, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# callhome
switch(config-callhome)#
Step 3
switch(config-callhome)# alert-group license
user-def-cmd show license usage
switch(config-callhome)# no alert-group
license user-def-cmd show license usage
OL-18084-01, Cisco MDS NX-OS Release 4.x
Customized Alert Group Messages
Purpose
Optional. Configures user-defined destination
message profile (test1) to receive Call Home
notifications for software-related events.
Optional. Configures predefined short-text
destination message profile to receive Call
Home notifications for software-related events.
Purpose
Enters configuration mode.
Enters Call Home configuration submode.
Configures a user-defined show command for an
alert group license.
Only valid show commands are
Note
accepted.
Removes the user-defined show command from
the alert group.
Cisco MDS 9000 Family CLI Configuration Guide
53-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents