Hello sir,I have written following line in my "snmpd.conf". but it is not working...It is not sending any kind of trap
notificationEvent ifInOctets.2 IF-MIB::ifInOctets.2 1.3.6.1.2.1.2.2.1.10.2 monitor -D -r 20 -S -u root -e ifInOctets.2 "Warn: High value" 1.3.6.1.2.1.2.2.1.10.2 > 15000000 Instead that If I write following lines it generates the output with "snmptrapd" mentioned as below : When I restart my "snmpd" only once it gives me the value at trap receiver side !!! What I need is I want to trigger it when only the value goes above some threshold value.And it should check the values periodically. Please help me with this.. Thanks in advance. (in snmpd.conf file) notificationEvent ifInOctets.2 IF-MIB::ifInOctets.2 1.3.6.1.2.1.2.2.1.10.2 monitor -D -r 20 -S -u root -e ifInOctets.2 "Warn: High value" 1.3.6.1.2.1.2.2.1.10.2 != Output(with snmptrapd -f -Le): 2012-09-17 03:51:33 localhost [UDP: [127.0.0.1]:43558->[127.0.0.1]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10) 0:00:00.10 SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::ifInOctets.2 IF-MIB::ifInOctets.2 = Counter32: 15266471 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders