Re: [Bug 103244] Re: net-snmp doesnt work with passthrough programs on amd64 in dapper

2008-10-04 Thread tek-ops
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/199246

it's a duplicate and very easy to produce to determine if you have a fix
or not.

On Sat, Oct 4, 2008 at 3:30 AM, Daniel T Chen <[EMAIL PROTECTED]> wrote:
> Is this symptom still reproducible in 8.10 beta?
>
> ** Changed in: net-snmp (Ubuntu)
>   Status: New => Incomplete
>
> --
> net-snmp doesnt work with passthrough programs on amd64 in dapper
> https://bugs.launchpad.net/bugs/103244
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in "net-snmp" source package in Ubuntu: Incomplete
>
> Bug description:
> To reproduce the problem you have to be running dapper amd64 version with 
> snmpd installed. Then you configure the snmpd.conf with a passthrough control 
> which runs an perl script (in my case):
>
> pass_persist .1.3.6.1.4.1.21695.1.2 /usr/local/src/dhcpd-snmp/dhcpd-snmp 
> /usr/local/src/dhcpd-snmp/dhcpd-snmp.conf
>
> The script in question can be downloaded from 
> http://www.net-track.ch/opensource/dhcpd-snmp/.
>
> The script works from the commandline and with my recompiled 
> net-snmp-5.2.3-4ubuntu1 from feisty for amd64 on dapper!
>
> The error that is reported when you do and snmpwalk is:
> NETTRACK-DHCP-SNMP-MIB blah blah blah
> Timeout: No Response from bifrost
>
> and in the syslog.conf on the snmpd server:
> send response: Error building ASN.1 representation (build int size 4: s/b 8)
>
> Perhaps this is yet another 64bit vs 32bit problem...
>


-- 
Michael Schenck
[EMAIL PROTECTED]
(585) 355-6546

-- 
net-snmp doesnt work with passthrough programs on amd64 in dapper
https://bugs.launchpad.net/bugs/103244
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


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

2008-03-06 Thread tek-ops
We really should be running at least Net-SNMP 5.3.2 if not 5.4.1 for
other bug fixes.

-- 
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


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

2008-03-06 Thread tek-ops
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