Action Syslog; Commit - HPE FlexNetwork 7500 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

action syslog

Use action syslog to add a Syslog action to a monitor policy.
Use undo action to remove an action.
Syntax
action number syslog priority level facility local-number msg msg-body
undo action number
Default
Monitor policies do not contain any actions.
Views
CLI-defined policy view
Predefined user roles
network-admin
mdc-admin
Parameters
number: Specifies an action ID in the range of 0 to 231.
priority level: Specifies the log severity level in the range of 0 to 7. A lower value represents a higher
severity level.
facility local-number: Specifies a logging facility by its facility number in the range of local0 to local7.
Facility numbers are used by a log host to identify log creation facilities for filtering log messages.
msg msg-body: Configures the log message body.
Usage guidelines
EAA sends log messages to the information center. You can configure the information center to
output these messages to certain destinations. For more information about the information center,
see "Configuring the information center."
You can configure a series of actions to be executed in response to the event specified in a monitor
policy.
EAA executes the actions in ascending order of action IDs. When you add actions to a policy, you
must make sure the execution order is correct.
If two actions have the same ID, the most recent one takes effect.
When you define an action, you may choose to specify a value or specify a variable name for an
argument. For more information about using EAA environment variables, see
Examples
# Configure an action for the CLI-defined policy test to send a log message "hello" with a severity of
7 from the facility device local3.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] action 3 syslog priority 7 facility local3 msg hello

commit

Use commit to enable a CLI-defined monitor policy.
233
"rtm
environment."

Advertisement

Table of Contents
loading

Table of Contents