On Mon, Jan 28, 2008 at 12:21:50PM +0530, deepak b wrote:
> On Jan 16, 2008 10:58 PM, Robert Story <[EMAIL PROTECTED]> wrote:
> 
> > On Fri, 4 Jan 2008 18:52:51 +0530 deepak wrote:
> > DB> But it still doesnt explain why i am getting zero padded OID when i
> > print
> > DB> reqVar->name inside the handlers?
> >
> > The int32/long bit part explains it pretty well, I think.
> >
> 
> Shucks! i totally missed this int32/long part. Good news for me is that
> basic operations(get,set,walk) are working in the 64 bit machine. Robert,
> thanks for reviewing my code.
> However, the trap part is yet to work, not sure whether its a configuration
> issue. I will report this when i find out more.
> One thing i noticed was on using net-snmp-5.4.1, it was giving a certain
> "Counter64 variable not allowed" (my MIB has a NOTIFICATION OBJECT which has
> a Counter64 variable as payload). The error is not coming with 5.4, so i
> presume this was one of the changes in 5.4.1, though not sure why?

Is this the exact error message?
Do you send the notification as a SNMPv2 NOTIFICATION-PDU or as a
SNMPv1 TRAP-PDU? You are not allowed to have Counter64 values in TRAPs since
the type does not exist in SNMPv1, and proxies are required to strip
Counter64s from NOTIFICATIONS before they are forwarded as TRAPs.

/MF

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to