Event Syslog - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

op op: Specifies the operator for comparing the sampled value with the threshold. The policy is
executed if the comparison result meets the condition. For keywords available for the start-op
argument, see
drop: Drops the notification if the comparison result meets the condition. If you do not specify this
keyword, the system sends the notification.
Usage guidelines
Use SNMP-Notification event monitor policies to monitor variables in SNMP notifications.
EAA executes an SNMP-Notification event monitor policy when the value of the monitored variable in
an SNMP notification meets the specified condition.
You can configure only one event for a monitor policy. If the monitor policy already contains an event,
the new event replaces the old event.
For the command to take effect, enable SNMP before you execute this command.
Examples
# Configure a CLI-defined policy to monitor SNMP notifications that contain the use name variable
1.3.6.1.4.1.25506.2.2.1.1.2.1.0. Enable the system to execute the policy and drop the SNMP
notification if the use name variable value is admin.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event snmp-notification oid 1.3.6.1.4.1.25506.2.2.1.1.2.1.0 oid-val
admin op eq drop

event syslog

Use event syslog to configure a Syslog event for a CLI-defined monitor policy.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
event syslog priority { priority | all } msg msg occurs times period period
undo event
Default
No Syslog event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
priority { priority | all }: Specifies the severity level for matching log messages.
priority: Specifies the lowest severity level for matching log messages. It is an integer in the
range of 0 to 7. A lower number represents higher severity level. For example, specify a severity
level of 3 to match log messages from level 3 to level 0.
all: Represents any severity level from 0 to 7.
msg msg: Specifies a regular expression to match the logs in standard format. The msg argument
represents a regular expression, a string of 1 to 255 characters. For more information about log
message formats, see "Configuring the information center."
Table
59.
252

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents