Yep, percagent is clearly running per ps -ef. snmpwalk -c public -v 2c localhost .1.3.6.1.4.1.3582
returns SNMPv2-SMI::enterprises.3582 = No more variables left in this MIB View (It is past the end of the MIB tree) jmose...@corp.xanadoo.com wrote: > First, have you verified that the perc agent is actually running on the > remote host? > > ps -ef | grep perc > > Furthermore, you're certainly not going to be able to connect to your > remote server via SNMP by using the default percsnmpd.conf file. > > If you are able to connect to your host using the original snmpd.conf file > with the added perc statements, then you are fine. > > Next, are you running SNMP v1 or v2? That's important as you have to > provide the correct version to the plugin. > > Lastly, what happens when you do an snmpwalk from the remote host using the > following? > > snmpwalk -c wiband -v 2c localhost .1.3.6.1.4.1.3582 > > You should get a bunch of valid, snmp output. If not, try using version 1. > If you do get valid output, then SNMP/percSNMP are setup correctly on that > host. > > > James Moseley > > > > > Bo Gusman <ml...@bogusville.us> wrote: > > Well, if I use the default snmpd.conf, I can connect to the host using > snmpwalk locally and from the nagios host, but I can't see anything > related to the perc array. It is this configuration that causes the perl > substr error when I run check_sasraid_megaraid. > > Renaming percsnmpd.conf -> snmpd.conf, I can't connect to the host at > all either using snmpwalk or the script. > > Both conf files have a line "pass .1.3.6.1.4.1.3582 /usr/sbin/percmain" > as the last line of the file, but I don't understand enough about snmp > (reading the docs is giving me a headache! :) to be able to connect the > dots. > > Would you share relevant snmpd.conf info for me, James? > > Much thanks for your patience and advice. > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null