snmpd on Dapper LTS x64 doesn't handle 64 bit values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dapper Backports |
New
|
Undecided
|
Unassigned | ||
net-snmp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I added the following two lines to the end of "/etc/snmp/
pass .1.3.6.
pass .1.3.6.
the code for "/tmp/doit.pl":
#!/usr/bin/perl
print ".1.3.6.
print "integer\n";
print "1234567890\n";
the code for "/tmp/doit64.pl":
#!/usr/bin/perl
print ".1.3.6.
print "integer\n";
print "12345678901\n";
Running locally:
root@img-2:/tmp# ./doit64.pl
.1.3.6.
integer
12345678901
root@img-2:/tmp# ./doit.pl
.1.3.6.
integer
1234567890
root@img-2:/tmp#
snmpget for 32:
root@nms-
UCD-SNMP-
root@nms-
snmpget for 64:
root@nms-
UCD-SNMP-
root@nms-
We really should be running at least Net-SNMP 5.3.2 if not 5.4.1 for other bug fixes.