I try to send a syslog msg. and a trap when an interface goes up or down.
Syslog works as expected, but according to the show command trap are "Off"
What is missing in my config ?
thanks, keti
event manager applet INTUPDOWN_ME
event syslog priority notifications pattern "(.*UPDOWN.*)"
action SENDLOG syslog priority warnings msg "INT UP OR DOWN TO BUFF"
action TRAP snmp-trap strdata "TEST TO SEND A TRAP"
snmp-server enable traps event-manager
snmp-server host 1.1.1.1 version 2c cisco
snmp-server enable traps
R2#sh event manager policy registered
No. Class Type Event Type Trap Time Registered
Name
1 applet system syslog Off Mon Oct 25 21:03:54 2010
INTUPDOWN_ME
priority notifications pattern {(.*UPDOWN.*)}
action SENDLOG syslog priority warnings msg "INT UP OR DOWN TO BUFF"
action TRAP snmp-trap strdata "TEST TO SEND A TRAP"
Blogs and organic groups at http://www.ccie.net
Received on Tue Oct 26 2010 - 08:15:51 ART
This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:06 ART