EasyManuals Logo

HPE FlexNetwork 5130 HI SERIES User Manual

HPE FlexNetwork 5130 HI SERIES
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
250
Examples
# Configure a CLI-defined policy to monitor all instances of the process snmpd for restart events.
<Sysname>system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event process restart name snmpd
event snmp oid
Use event snmp oid to configure an SNMP event for a CLI-defined monitor policy.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
event snmp oid oid monitor-obj { get | next } start-op start-op start-val start-val restart-op
restart-op restart-val restart-val [ interval interval ]
undo event
Default
No SNMP event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
oid oid: Specifies the OID of the monitored MIB variable, a string of 1 to 256 characters.
monitor-obj { get | next }: Specifies the SNMP operation used for sampling variable values. The get
keyword represents the SNMP get operation, and the next keyword represents the SNMP getNext
operation.
start-op start-op: Specifies the operator for comparing the sampled value with the start threshold.
The start threshold is crossed if the comparison result meets the condition. For keywords available
for the start-op argument, see Table 59.
start-v
al start-val: Specifies the start threshold to be compared with the sampled value. The start-val
argument can be any data type supported by SNMP, including numerals and character strings. The
value range for the start-val argument is a string of 1 to 512 characters. If the threshold value
contains spaces, you must enclose the value in quotation marks (" ").
restart-op op: Specifies the operator for comparing the sampled value with the restart threshold.
The restart threshold is crossed if the comparison result meets the condition. For keywords available
for the start-op argument, see Table 59.
restart-op rest
art-val: Specifies the restart threshold to be compared with the sampled value. The
restart-val argument can be any data type supported by SNMP, including numerals and character
strings. The value range for the restart-val argument is a string of 1 to 512 characters. If the threshold
value contains spaces, you must enclose the value in quotation marks (" ").
interval interval: Specifies the sampling interval in the range of 1 to 4294967295, in seconds. The
default value is 300.
Usage guidelines
Use SNMP event monitor policy to monitor value changes of MIB variables.
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.

Table of Contents

Other manuals for HPE FlexNetwork 5130 HI SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5130 HI SERIES and is the answer not in the manual?

HPE FlexNetwork 5130 HI SERIES Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5130 HI SERIES
CategorySwitch
LanguageEnglish

Related product manuals