RE: SNMP Perl script with Centos 6.0

From: Dwyer, Simon <>
Date: Tue, 13 Sep 2011 10:33:07 +1000

Ok i have nailed this down to

its working if i fire off snmpd by hand as root but not when i run it with the init script. i am running the command by hand the same as its called in the init script so i am stuck to see a difference.

Anyone have any ideas?



From: Dwyer, Simon [] Sent: Monday, September 12, 2011 3:44 PM To:
Subject: SNMP Perl script with Centos 6.0

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 in i get :error on subcontainer 'ia_addr' insert (-1) every few minutes.

and when i try and run :

snmpbulkwalk -c public -v2c localhost . SNMPv2-SMI::enterprises.29385. = 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?


Simon Dwyer Received on 2011/09/13 02:33

This archive was generated by hypermail 2.2.0 : 2011/09/13 02:45 CEST