Applying Snmp Correlation Rules - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Applying SNMP Correlation Rules

The purpose of configuring SNMP trap correlation rules is to define the correlation rules or non-correlation
rules and apply them to specific trap destinations.
SUMMARY STEPS
1. configure
2. snmp-server correlator rule rule_name { nonrootcause trap trap_oid varbind vbind_OID { index |
value } regex line | rootcause trap trap_oid varbind vbind_OID { index | value } regex line | timeout
}
3. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
snmp-server correlator rule rule_name {
nonrootcause trap trap_oid varbind vbind_OID
{ index | value } regex line | rootcause trap
trap_oid varbind vbind_OID { index | value }
regex line | timeout }
Example:
RP/0/RSP0/CPU0:router(config)#
snmp-server correlator rule test
rootcause A
varbind A1 value regex RA1
varbind A2 index regex RA2
timeout 5000
nonrootcause
trap B
varbind B1 index regex RB1
varbind B2 value regex RB2
trap C
varbind C1 value regex RC1
varbind C2 value regex RC2
Step 3
commit
Applying SNMP Correlation Rules
The purpose of this task is to apply the SNMP trap correlation rules to specific trap destinations.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
32
Implementing and Monitoring Alarms and Alarm Log Correlation
Purpose
Configures a SNMP correlation rule. You can specify the numeric
rootcause trap OID or non-rootcause trap matching definitions.
• Specifies a numeric non-rootcause trap OID and, optionally, one
or more numeric varbinds specific to the non-rootcause trap that
must ALL also be matched to have found a valid non-rootcause
for this rule. The POSIX regexp specifies a regular expression that
the value that the vbind index or value must match.
• Specifies a numeric rootcause trap OID and, optionally, one or
more numeric varbinds specific to the rootcause trap that must
ALL also be matched to have found a valid rootcause for this rule.
The POSIX regexp specifies a regular expression that the vbind
index or value must match.
You can specify the timeout for detection of a correlation after
Note
receipt of first rootcause or non-rootcause in this specified rule.
The range is from 1 to 600000 milliseconds.
All OID values for traps and varbinds are verified and rejected,
Note
if they do not match valid OIDs supported by IOS XR.

Advertisement

Table of Contents
loading

Table of Contents