I was just checking out the SNMP support for the latest version of HAProxy:


Older versions gave:

snmpwalk -c public -v2c 127.0.0.1 1.3.6.1.4.1.29385.106.1.0
SNMPv2-SMI::enterprises.29385.106.1.0.0.1.0 = STRING: "stats"
SNMPv2-SMI::enterprises.29385.106.1.0.1.1.0 = STRING: "FRONTEND"
SNMPv2-SMI::enterprises.29385.106.1.0.2.1.0 = ""

etc.

But the current version gives:

snmpwalk -c public -v2c 127.0.0.1 1.3.6.1.4.1.29385.106.1.0
SNMPv2-SMI::enterprises.29385.106.1.0 = No Such Instance currently
exists at this OID


I'm using: http://haproxy.1wt.eu/download/contrib/netsnmp-perl/haproxy.pl

I assume the mapping has changed?

my %info_vars = (
        0       => 'Name',
        1       => 'Version',
        2       => 'Release_date',
        3       => 'Nbproc',
        4       => 'Process_num',
        5       => 'Pid',
        6       => 'Uptime',
        7       => 'Uptime_sec',
        8       => 'Memmax_MB',
        9       => 'Ulimit-n',
        10      => 'Maxsock',
        11      => 'Maxconn',
        12      => 'CurrConns',
);


Has anyone already done this? Perl is not my strong point :-).

thanks.







--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

Reply via email to