I have the same issue and still confused with its appearance. Previously we 
were running a 4yr old version of net-snmp. After recently upgrading to 5.6 I 
started getting this error message in /var/log/snmp.log. Was it suppressed 
before and now being reported? How do I go about tracking down and fixing the 
underlying problem?

From: Fulko Hew [mailto:fulko....@gmail.com]
Sent: Friday, April 01, 2011 1:13 PM
To: Singh, Vinay
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: SNMP trap not working correctly for 64-bit varbinds


On Fri, Apr 1, 2011 at 11:40 AM, Singh, Vinay 
<vsi...@informatica.com<mailto:vsi...@informatica.com>> wrote:
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


... snip ...

That is because Counter64 was added in SNMP v2, and is therefore also supported 
in V2 traps.
But since Counter64 did not exist in SNMP v1, it therefore cannot be encoded 
into V1 traps.

ie. Counter64 is forwards compatible, but not backwards compatible.



------------------------------------------------------------------------------
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

Reply via email to