snmpd on Dapper LTS x64 doesn't handle 64 bit values

Bug #199246 reported by tek-ops
2
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/snmpd.conf":
pass .1.3.6.1.4.1.2021.555.32 /tmp/doit.pl
pass .1.3.6.1.4.1.2021.555.64 /tmp/doit64.pl

the code for "/tmp/doit.pl":
#!/usr/bin/perl
print ".1.3.6.1.4.1.2021.555.32.1\n";
print "integer\n";
print "1234567890\n";

the code for "/tmp/doit64.pl":
#!/usr/bin/perl
print ".1.3.6.1.4.1.2021.555.64.1\n";
print "integer\n";
print "12345678901\n";

Running locally:
root@img-2:/tmp# ./doit64.pl
.1.3.6.1.4.1.2021.555.64.1
integer
12345678901
root@img-2:/tmp# ./doit.pl
.1.3.6.1.4.1.2021.555.32.1
integer
1234567890
root@img-2:/tmp#

snmpget for 32:
root@nms-1:/opt/nagios/share/cacti# snmpget -v 1 -c f0rtun3! img-2.nfs .1.3.6.1.4.1.2021.555.32.1
UCD-SNMP-MIB::ucdavis.555.32.1 = INTEGER: 1234567890
root@nms-1:/opt/nagios/share/cacti#

snmpget for 64:
root@nms-1:/opt/nagios/share/cacti# snmpget -v 1 -c f0rtun3! img-2.nfs .1.3.6.1.4.1.2021.555.64.1
UCD-SNMP-MIB::ucdavis.555.64.1 = INTEGER: 0
root@nms-1:/opt/nagios/share/cacti#

Revision history for this message
tek-ops (mschenck-gmail) wrote :

We really should be running at least Net-SNMP 5.3.2 if not 5.4.1 for other bug fixes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.