Public bug reported:

Trying to use COUNTER64 in NetSNMP::agent doesn't work. This is a long-
standing bug that has been fixed in SVN for 5.2.x, 5.3.x, 5.4.x and
trunk last year.

I noticed this bug a while ago (it was already reported to net-snmp) and
worked around it by using normal counters. Now it's fixed I'd like to
use them to test some counter-specific functions. It would be awesome if
the patch could get trough normal updates.

Note that Perl do not support 64bit integers ("long long" in C) out of
the box, but Math::Int64 do and the value can be safely passed to
NetSNMP::agent as a string.

See:
http://sourceforge.net/tracker/index.php?func=detail&aid=2022948&group_id=12694&atid=312694
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17246

I attached the patch for the 5.4.x branch from SVN - from this URL:
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-4-patches/net-snmp/perl/agent/agent.xs?view=patch&r1=17246&r2=17245&pathrev=17246

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
COUNTER64 broken in NetSNMP::agent
https://bugs.launchpad.net/bugs/406171
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to