Subscribes this
profile to the alert group for the call-home profile.
Privilege:
Security Administrator,
Administrator
Syntax
subscribe-to-alert-group [ all {severity [ catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | configuration { periodic [ daily | monthly | weekly] }
| crashinfo | diagnostic { severity [ catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | environment { severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | inventory { periodic [ daily | monthly | weekly] } | syslog {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } ]
default subscribe-to-alert-group
no subscribe-to-alert-group [ all {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | configuration { periodic [ daily | monthly | weekly] } | crashinfo | diagnostic {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | environment {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] } | inventory { periodic [ daily | monthly | weekly] } | syslog {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] [pattern pattern_to_match] } ]
all {severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] }
Enables call-home messages
based for all group-types and severity for the profile. The following
severities are supported:
- catastrophic– Level
1: catastrophic event, matches platform logging level critical.
- disaster – Level
2: disaster event, matches platform logging level critical.
- fatal – Level
3: fatal event, matches platform logging level critical.
- critical – Level
4: critical event, matches platform logging level critical.
- major – Level
5: major event, matches platform logging level error.
- minor – Level
6: minor event, matches platform logging level warning.
- warning – Level
7: warning event, matches platform logging level warning.
- notification – Level
8: notification event, matches platform logging level unusual.
- normal – Level
9: normal event, matches platform logging level info.
configuration { periodic [ daily | monthly | weekly] }
Enables call-home messages
based for configuration alert groups. The messages are sent at periodic
intervals such as:
- daily: Sends
a daily call-home message.
- monthly: Sends
a monthly call-home message.
- weekly: Sends
a weekly call-home message.
crashinfo
Configures the call-home
profile back to default settings. By default, the profile is enabled.
default
Restores the parameter
back to the default value.
diagnostic { severity [ catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] }
Enables call-home messages
based for diagnostic group-types and severity for the profile. The
following severities are supported:
- catastrophic– Level
1: catastrophic event, matches platform logging level critical.
- disaster – Level
2: disaster event, matches platform logging level critical.
- fatal – Level
3: fatal event, matches platform logging level critical.
- critical – Level
4: critical event, matches platform logging level critical.
- major – Level
5: major event, matches platform logging level error.
- minor – Level
6: minor event, matches platform logging level warning.
- warning – Level
7: warning event, matches platform logging level warning.
- notification – Level
8: notification event, matches platform logging level unusual.
- normal – Level
9: normal event, matches platform logging level info.
environment {severity [ catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] }
Enables call-home messages
based for environment group-types and severity for the profile. The
following severities are supported:
- catastrophic– Level
1: catastrophic event, matches platform logging level critical.
- disaster – Level
2: disaster event, matches platform logging level critical.
- fatal – Level
3: fatal event, matches platform logging level critical.
- critical – Level
4: critical event, matches platform logging level critical.
- major – Level
5: major event, matches platform logging level error.
- minor – Level
6: minor event, matches platform logging level warning.
- warning – Level
7: warning event, matches platform logging level warning.
- notification – Level
8: notification event, matches platform logging level unusual.
- normal – Level
9: normal event, matches platform logging level info.
inventory { periodic [ daily | monthly | weekly ] }
Enables call-home messages
based for inventory alert groups. The messages are sent at periodic
intervals such as:
- daily: Sends
a daily call-home message.
- monthly: Sends
a monthly call-home message.
- weekly: Sends
a weekly call-home message.
no
Deletes the alert groups.
syslog { severity [catastrophic | diasaster | fatal | critical | major | minor | warning | notification | normal ] [ pattern pattern_to_match] } ]
Enables and disables
call-home messages based on severity and syslog string pattern match for
the profile. The following severities are supported:
- catastrophic– Level
1: catastrophic event, matches platform logging level critical.
- disaster – Level
2: disaster event, matches platform logging level critical.
- fatal – Level
3: fatal event, matches platform logging level critical.
- critical – Level
4: critical event, matches platform logging level critical.
- major – Level
5: major event, matches platform logging level error.
- minor – Level
6: minor event, matches platform logging level warning.
- warning – Level
7: warning event, matches platform logging level warning.
- notification – Level
8: notification event, matches platform logging level unusual.
- normal – Level
9: normal event, matches platform logging level info.
pattern_to_match is
an alphanumeric string of 1 through 80 characters.
Note:
If no pattern_to_match is
specified, the system will use a “.*” (dot
asterisk) pattern.
Usage:
Use this command to
enable or disable the call-home messages based on specified alert-groups
and severities for the profile.
Example:
The following command
sets an alert group for the profile to send a daily inventory message:
subscribe-to-alert-group
inventory periodic daily