On Fri, Apr 1, 2011 at 11:40 AM, Singh, Vinay <[email protected]>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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to