[SRU] COUNTER64 broken in NetSNMP::agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Chuck Short | ||
Intrepid |
Won't Fix
|
Undecided
|
Chuck Short | ||
Jaunty |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
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://
http://
I attached the patch for the 5.4.x branch from SVN - from this URL:
http://
Changed in net-snmp (Ubuntu): | |
status: | Incomplete → New |
Changed in net-snmp (Ubuntu Hardy): | |
assignee: | nobody → Chuck Short (zulcss) |
Changed in net-snmp (Ubuntu Intrepid): | |
assignee: | nobody → Chuck Short (zulcss) |
Changed in net-snmp (Ubuntu Jaunty): | |
assignee: | nobody → Chuck Short (zulcss) |
Could you please include a sample test program with the expected results with and without the patch applied?
Thanks
chuck