On Mon, 9 Feb 2009, Ruy Diaz wrote:
>> First, lets check if haproxy.pl is indeed working: try to walk
> Same result:
> $ snmpbulkwalk -c public -v2c 127.0.0.1 18.104.22.168.4.1.29322.214.171.124
> SNMPv2-SMI::enterprises.293126.96.36.199 = No more variables left in this MIB
> View (It is past the end of the MIB tree)
So the script is not working. The only idea I have left is to try stracing snmpd to check what is happening when it should load the script: strace -f -s 256 -o /tmp/snmpd.log /usr/sbin/snmpd -DALL -f
>> Then make sure that snmpd/haproxy.pl is able to read the socket provided by
>> the proxy. By default haproxy.pl expects "/var/run/haproxy.stat", also make
>> sure that you have valid permissions for the socket.
> The permissions on the socket:
> $ ls /var/run/haproxy.stat -laF
> srwxrwxrwx 1 root root 0 2009-02-04 09:40 /var/run/haproxy.stat=
OK, more than enough. :)
> Does the "no acces control information configured" error message that shows
> up when I run 'perl /etc/snmp/haproxy.pl' tell anything useful?
Yes, it tells that it is possible to compile it without problems, however the script is not intended to be run directly so this message is expected.
Krzysztof Olędzki Received on 2009/02/11 17:16
This archive was generated by hypermail 2.2.0 : 2009/02/11 18:30 CET