Page 1 of 1

From where should i install check_snmp (default) plugin?

Posted: Sat May 10, 2014 2:33 am
by tejassawai
I have Nagios Core : 4.0.2 Running.
I want to monitor hardware and hosts by snmp.
I have following snmp packages installed :

Code: Select all

[root@target libexec]# rpm -qa | grep snmp
net-snmp-utils-5.5-27.el6.x86_64
net-snmp-libs-5.5-27.el6.x86_64
net-snmp-5.5-27.el6.x86_64
[root@target libexec]# 
And the snmp service is already configured and running correctly:

Code: Select all

 [root@target libexec]# /etc/init.d/snmpd status
snmpd (pid  8669) is running...
[root@target libexec]# /etc/init.d/snmptrapd status
snmptrapd (pid  13399) is running...
[root@target libexec]# 
in the default plugins path I dont find any plugin `check_snmp`

Code: Select all

[root@target libexec]# pwd
/usr/local/nagios/libexec
[root@target libexec]# ls check_sn*
ls: cannot access check_sn*: No such file or directory
[root@target libexec]# ls check_s*
check_sensors  check_simap  check_smtp  check_spop  check_ssh  check_ssmtp  check_swap
[root@target libexec]# 
where do I do I get this?

Re: From where should i install check_snmp (default) plugin?

Posted: Sun May 11, 2014 5:44 pm
by jsmurphy
It looks like check_snmp may have been dropped from the latest core nagios-plugins package (which is an... interesting... change). Unless they've just removed the documentation for some reason, I can't find any information one way or the other on the matter though. It used to be you had to make sure you had the net-snmp package installed before you compiled the nagios-plugins package to get the check_snmp plugin.

You can try this as an alternative from the exchange: http://exchange.nagios.org/directory/Pl ... mp/details

Re: From where should i install check_snmp (default) plugin?

Posted: Mon May 12, 2014 9:53 am
by slansing
No, check_snmp is definitely there, check out the source:

https://github.com/nagios-plugins/nagio ... er/plugins

@OP, what plugins package did you install?