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:
[EMAIL PROTECTED]:/tmp# ./doit64.pl 
.1.3.6.1.4.1.2021.555.64.1
integer
12345678901
[EMAIL PROTECTED]:/tmp# ./doit.pl 
.1.3.6.1.4.1.2021.555.32.1
integer
1234567890
[EMAIL PROTECTED]:/tmp# 


snmpget for 32:
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/opt/nagios/share/cacti# 

snmpget for 64:
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to