From where should i install check_snmp (default) plugin?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tejassawai
Posts: 5
Joined: Wed Apr 30, 2014 10:48 pm

From where should i install check_snmp (default) plugin?

Post 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?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

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

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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?
Locked