[Solved] No check_snmp under libexec

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
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

[Solved] No check_snmp under libexec

Post 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
Last edited by jbruyet on Fri Sep 05, 2014 7:01 pm, edited 1 time in total.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: No check_snmp under libexec

Post 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.

Code: Select all

find / -name check_snmp
Former Nagios employee
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: No check_snmp under libexec

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: No check_snmp under libexec

Post by eloyd »

If you installed from source, your plugins configure.log file will tell you why it chose not to compile check_snmp.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: No check_snmp under libexec

Post 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?
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: No check_snmp under libexec

Post 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
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: No check_snmp under libexec

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: [Solved] No check_snmp under libexec

Post 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. :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: [Solved] No check_snmp under libexec

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