Hi, I am testing snmpd with subagent. Any trap for 64-bit varbind does not get delivered to snmptrapd. No Problem with 32-bit varbinds. I get error in
snmpd.log # cat snmpd.log registered debug token Disman, 1 Turning on AgentX master support. NET-SNMP version 5.6 send_trap: v1 traps can't carry Counter64 varbinds send_trap: failed to convert v2->v1 template PDU My snmpd.conf # cat snmpd.conf syslocation "Vinay's desktop" syscontact vsi...@informatica.com sysservices 12 createUser gfro MD5 "vinaysingh" DES rwuser vinay rocommunity public com2sec vinay default privvyr group vinay v2c gfro # access for the two read only groups to their individual views access vinay "" any noauth exact full none none # master agentx agentgroup daemon AgentXSocket tcp:localhost:705 trap2sink localhost public iquerySecName vinay agentSecName vinay # No Problem with this trap proc wireshark 1 proc xterm 1 0 linkUpDownNotifications yes # No Problem with this trap monitor -r 10 -o UCD-SNMP-MIB::prNames -o UCD-SNMP-MIB::prErrMessage "process table" UCD-SNMP-MIB::prErrorFlag != 0 #This trap dpes not work correctly ( 64 bit varbinds) - triggers if the value is 0 notificationEvent HaveRMSources6 DISMAN-EVENT-MIB::mteTriggerFalling -o TNW-MIB::tnwSourceLbtrmAggNaksRcved monitor -e HaveRMSources6 -r 10 RMSource6 TNW-MIB::tnwSourceLbtrmAggNaksRcved 0 10 #This trap dpes not work correctly ( 64 bit varbinds) - Never triggers even if TNW-MIB::tnwSourceLbtrmAggNaksRcved is more than 10 notificationEvent HaveRMSources7 DISMAN-EVENT-MIB::mteTriggerRising -o TNW-MIB::tnwSourceLbtrmAggNaksRcved monitor -e HaveRMSources7 -r 10 RMSource7 TNW-MIB::tnwSourceLbtrmAggNaksRcved > 10 # No Problem with this trap ( 32-bit varbinds) notificationEvent HaveRMSources DISMAN-EVENT-MIB::mteTriggerFired -o TNW-MIB::tnwSourceLbtrmNumberOfEntries TNW-MIB::tnwReceiverLbtrmNumberOfEntries monitor -e HaveRMSources -r 10 RMSource TNW-MIB::tnwSourceLbtrmNumberOfEntries > 0 # # No Problem with this trap ( 32-bit varbinds) notificationEvent HaveRMSources2 DISMAN-EVENT-MIB::mteTriggerFalling -o TNW-MIB::tnwSourceLbtrmNumberOfEntries monitor -e HaveRMSources2 -r 10 RMSource2 TNW-MIB::tnwSourceLbtrmNumberOfEntries == 0
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders