[Bug 199246] [NEW] snmpd on Dapper LTS x64 doesn't handle 64 bit values

tek-ops mschenck at gmail.com
Thu Mar 6 20:40:22 GMT 2008


Public bug reported:

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 at img-2:/tmp# ./doit64.pl 
.1.3.6.1.4.1.2021.555.64.1
integer
12345678901
root at img-2:/tmp# ./doit.pl 
.1.3.6.1.4.1.2021.555.32.1
integer
1234567890
root at img-2:/tmp# 


snmpget for 32:
root at 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 at nms-1:/opt/nagios/share/cacti# 

snmpget for 64:
root at 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 at nms-1:/opt/nagios/share/cacti#

** Affects: dapper-backports
     Importance: Undecided
         Status: New

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

** Summary changed:

- snmpd on dapper lts x64 doesn't handle 64 bit values
+ snmpd on Dapper LTS x64 doesn't handle 64 bit values

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

-- 
snmpd on Dapper LTS x64 doesn't handle 64 bit values
https://bugs.launchpad.net/bugs/199246
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Dapper Backports.



More information about the ubuntu-backports mailing list