© Copyright Lenovo 2017 Chapter 40: Remote Monitoring 603
RMON Group 9–Events
TheRMONEventGroupallowsyoutodefineeventsthataretriggeredbyalarms.
Aneventcanbealogmessage,anSNMPtrapmessage,orboth.
Whenanalarmisgenerated,ittriggersacorrespondingeventnotification.Usethe
followingcommandstocorrelateanEventindextoanalarm:
RMON
eventsuseSNMPandsystemlogstosendnotifications.Therefore,an
SNMPtraphostmustbeconfiguredfortrapeventnotificationtoworkproperly.
RMONusesasysloghosttosendsyslogmessages.Therefore,anexistingsyslog
hostmustbeconfiguredforeventlognotificationtoworkproperly.Eachlogevent
generatesasystemlogmessageoftypeRMONthatcorrespondstotheevent.
Forexample,toconfiguretheRMONeventparameters.
ThisconfigurationcreatesanRMONeventthatsendsasyslogmessageeachtimeit
istriggeredbyanalarm.
CN 4093(config)# rmon alarm <alarmnumber> rising-crossing-index <event number>
CN 4093(config)# rmon alarm <alarmnumber> falling-crossing-index
<event number>
CN 4093(config)# rmon event 110 type log
CN 4093(config)# rmon event 110 description "SYSLOG_this_alarm"
CN 4093(config)# rmon event 110 owner "log icmpInEchos alarm"