Page 1 of 1
[Solved] No check_snmp under libexec
Posted: Sat Aug 30, 2014 7:27 pm
by jbruyet
Hey all, I have Nagios 4.0.7 running on CentOS 6.5. Almost everything is working fine -- I don't have check_snmp under libexec. I've installed net-snmp, net-snmp-utils and nagios-plugins-snmp, and I've reinstalled my nagios-plugins but no joy. When I ran make for the nagios-plugins-snmp the last time I did see an error about not having aclocal-1.9 installed, and that it was a part of automake so I installed automake but still no check_snmp. Any ideas?
Thanks,
Joe B
Re: No check_snmp under libexec
Posted: Tue Sep 02, 2014 10:08 am
by tmcdonald
Are you sure it didn't end up in a different location? This can happen if you mix source installs with package manager installs.
Re: No check_snmp under libexec
Posted: Tue Sep 02, 2014 10:43 pm
by jbruyet
Thanks tmcdonald but it's just not there:
Code: Select all
[root@Nagios jobee]# find / -name check_snmp
[root@Nagios jobee]#
Any other ideas?
Thanks,
Joe B
Re: No check_snmp under libexec
Posted: Wed Sep 03, 2014 7:10 am
by eloyd
If you installed from source, your plugins configure.log file will tell you why it chose not to compile check_snmp.
Re: No check_snmp under libexec
Posted: Thu Sep 04, 2014 10:57 am
by slansing
Any luck jbruyet? You're following the outline here, or at least using the same links for your plugins package download correct?:
http://assets.nagios.com/downloads/nagi ... Source.pdf
Can you attach your configure.log here so we can take a look through it with you?
Re: No check_snmp under libexec
Posted: Fri Sep 05, 2014 6:48 pm
by jbruyet
Well, I don't seem to have a configure.log file anywhere on my server:
Code: Select all
[root@Nagios jobee]# find / -name configure.log
[root@Nagios jobee]#
Where should it be?
@ slansing, I'll take a look at that link and see what I can figure out.
Thanks,
Joe B
Re: No check_snmp under libexec
Posted: Fri Sep 05, 2014 7:00 pm
by jbruyet
Hmmm... I just installed my Nagios Plugins AGAIN and now I have check_snmp and my snmp errors are disappearing off of the Nagios web page. I wonder what I was doing wrong before... Thanks slansing.
Thanks,
Joe B
Re: [Solved] No check_snmp under libexec
Posted: Sun Sep 07, 2014 12:02 pm
by eloyd
You have two options here - continue now that it's working and not worry about it or try to figure out what went wrong the first time. I vote for option 1.

Re: [Solved] No check_snmp under libexec
Posted: Mon Sep 08, 2014 12:16 pm
by slansing
Interesting, must have had some sort of compile hiccup that didn't force it to bail. Odd, but good to know it came out properly this time around, mystery abounds!