check_snmp pulgin not found giving "Return code 127

I have installed Nagios using the Quickstart Installation Guide. After a succesful installation I am attemping to set up a switch monitor. I am getting a “Return code of 127 is out of bounds - plugin may be missing”. After hours of seraching the FAQ’s and this forum I determined that the plugin check_snmp is missing in the /usr/local/nagios/libexec directory. I ran a find on check_snmp and got this results:

[root@ndt ~]# find / -name ‘check_sn*’
/root/downloads/nagios-plugins-1.4.11/plugins/.deps/check_snmp.Po
/root/downloads/nagios-plugins-1.4.11/plugins/t/check_snmp.t
/root/downloads/nagios-plugins-1.4.11/plugins/check_snmp.c
/root/downloads/nagios-plugins-1.4.11/contrib/check_snmp_disk_monitor.pl
/root/downloads/nagios-plugins-1.4.11/contrib/check_snmp_process_monitor.pl
/root/downloads/nagios-plugins-1.4.11/contrib/check_snmp_procs.pl
/root/downloads/nagios-plugins-1.4.11/contrib/check_snmp_printer.pl

I have re-downloaded the plugins and re-installed. I restarted Nagios with command /etc/rc.d/init.d/nagios reload
Reults of the find where the same.

Since I am new to unix/linx I am at aloss as to how to get the check_snmp plugin installed.
Can anyone take mercy on me and help me out. I would greatly appreciate it.

Thanks
Dan

Hi

Have you installed Net-SNMP?

[root@localhost nagios-plugins-1.4.11]# cat REQUIREMENTS
...
check_snmp:
        - Requires the NET-SNMP package available from
          http://net-snmp.sourceforge.net/
...

HTH

/S

I downloaded and installed internap.dl.sourceforge.net/sour … 2.4.tar.gz
using the instructions form the quick start “Compile and Install Nagios Plugins” :

I will download the Net-SNMP and see if that will work.

Thanks for the help.

After I downloaded and installed the net-snmp I re-installed the nagios plug-ins. check_snmp is now in the /usr/local/nagios/libexec directory. Now I am getting NO data received from the host, so I know it is working, just have to check the switch.cfg file for any errors. Thanks all. Appreciate the help