canīt get snmp to work

From: Pablo Escobar <pescobar#cipf.es>
Date: Mon, 21 Apr 2008 18:27:16 +0200


Hi all

Today I decided to upgrade to last stable version of haproxy on my web cluster because I would like to get snmp statistics from haproxy to show on cacti but I canīt get snmp to work.

I followed the instructions on haproxy-1.3.15/contrib/netsnmp-perl/README so copied the script haproxy.pl to /etc/snmp directory and got this two new lines on my snmpd.conf

[root]@[txema]# tail -n2 /etc/snmp/snmpd.conf disablePerl false
perl do '/etc/snmp/haproxy.pl';

then I restarted snmpd and tried to do some snmp queries but I get no results.

$> snmpbulkwalk -c MyCommunity -v2c HAProxyIP 1.3.6.1.4.1.29385.106.1.0.17
SNMPv2-SMI::enterprises.29385.106.1.0.17 = No Such Object available on this agent at this OID

$> snmpwalk -c MyCommunity -v2c HAProxyIP 1.3.6.1.4.1.29385.106.1.1.10001
SNMPv2-SMI::enterprises.29385.106.1.1.10001 = No Such Object available on this agent at this OID

snmpd is working on the machine running haproxy (I am monitoring it with cacti) but I canīt get anything on OID 1.3.6.x.x.x

[root]@[harry]# snmpwalk -c community -v2c haproxyIP | grep "1.3" | wc -l 134
[root]@[harry]# snmpwalk -c community -v2c haproxyIP | grep "1.3.6" | wc -l 0

ŋany clue about what I am doing wrong or how I could debug this error??

many thanks in advance for any help.

Pablo.

p.d. I am using HAProxy version 1.3.15 on debian ETCH x86_64.

-- 
Pablo Escobar Lopez
Head of Infrastructure & IT Support
Bioinformatics Department
Centro de Investigación Príncipe Felipe (CIPF)
Tfn: (34) 96 328 96 80 ext: 1004
http://bioinfo.cipf.es
Received on 2008/04/21 18:27

This archive was generated by hypermail 2.2.0 : 2008/04/21 18:30 CEST