LinkUp/Down trap
Jing Guan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I have the following directives in my snmpd.conf file to generate the LinkUp/Down trap: notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus monitor -r 60 -u Admin -o sysUpTime.0 -e linkUpTrap "GlinkUp" ifOperStatus != 2 monitor -r 60 -u Admin -o sysUpTime.0 -e linkDownTrap "GlinkDown" ifOperStatus == 2 I have been getting the trap correctly SNMPv2c Trap Pdu: Community = public, Reqid = 251071075 Oid1 = 1.3.6.1.2.1.1.3.0 , Type = TimeTicks, Value = 00 hrs: 00 min: 01 sec Oid2 = 1.3.6.1.6.3.1.1.4.1.0 , Type = ObjectID, Value = 1.3.6.1.6.3.1.1.5.4(Link Up) Oid3 = 1.3.6.1.2.1.2.2.1.1.1 , Type = Integer, Value = 1 Oid4 = 1.3.6.1.2.1.2.2.1.7.1 , Type = Integer, Value = 1 Oid5 = 1.3.6.1.2.1.2.2.1.8.1 , Type = Integer, Value = 1 Oid6 = 1.3.6.1.2.1.1.3.0.1 , Type = NoSuchInstance, Value = NULL Oid7 = 1.3.6.1.6.3.1.1.4.3.0 , Type = ObjectID, Value = 1.3.6.1.4.1.8072.3.2.10 But for a sudden, still with the same directive, the trap changes to SNMPv2c Trap Pdu: Community = public, Reqid = 539457232 Oid1 = 1.3.6.1.2.1.1.3.0 , Type = TimeTicks, Value = 00 hrs: 00 min: 01 sec Oid2 = 1.3.6.1.6.3.1.1.4.1.0 , Type = ObjectID, Value = 0.0.0 Oid3 = 1.3.6.1.2.1.2.2.1.1.1 , Type = Integer, Value = 1 Oid4 = 1.3.6.1.2.1.2.2.1.7.1 , Type = Integer, Value = 1 Oid5 = 1.3.6.1.2.1.2.2.1.8.1 , Type = Integer, Value = 1 Oid6 = 1.3.6.1.2.1.1.3.0.1 , Type = NoSuchInstance, Value = NULL Why? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users