SNMP Perl script with Centos 6.0

From: Dwyer, Simon <SDwyer#federalit.net>
Date: Mon, 12 Sep 2011 15:44:12 +1000


Hi Everyone,

I am trying to get the snmp perl script working on my Centos 6.0 server.

I can read the socket file with socat and it outputs all the stats.

i can run snmpd and point it to a simple perl script to touch a empty file and that works but when i put the haproxy.pl in i get :error on subcontainer 'ia_addr' insert (-1) every few minutes.

and when i try and run :

snmpbulkwalk -c public -v2c localhost .1.3.6.1.4.1.29385.106.2.0.0 SNMPv2-SMI::enterprises.29385.106.2.0.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

as far as i can tell i have everything right.

Any ideas?

Thanks,

Simon Dwyer Received on 2011/09/12 07:44

This archive was generated by hypermail 2.2.0 : 2011/09/12 08:00 CEST