[SOLVED] [NAGIOS] can't find check_nrpe after 'yum install check_nrpe'
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[NAGIOS] can't find check_nrpe after 'yum install check_nrpe'
I've run 'yum install check_nrpe' which appeared to have completed successfully. If I re-run that command, I get:
Code:
Package nagios-plugins-nrpe-2.12-16.fc14.x86_64 already installed and latest version
But there is no check_nrpe in the /usr/local/nagios/libexec directory. I've tried a which and a whereis and a find and that turns up nothing for 'check_nrpe'.
Thank you for this suggestion. RPM doesn't register check_nrpe as being installed:
Code:
rpm -ql check_nrpe
package check_nrpe is not installed
Quote:
Originally Posted by acid_kewpie
nrpe is *HORRIBLE* though, I would REALLY suggest using a secure mechanism like func or SSH instead of this awful hack.
On the remote machine, I'm running nsclient++ (windows server 2008). On this Fedora server, I'm running Nagios to monitor all the Windows servers. If there is some documentation on replacing nrpe with func, I'd love to see it and consider going in that direction.
As for security, each of these machines are behind a firewall in a data center with no access from the internet. Even the machines on the intranet that can talk to these servers are limited to a few servers (no desktops).
I just ran this command and yum is still telling me that check_nrpe is installed:
Code:
yum install nrpe nagios-common nagios-plugins nagios-plugins-{disk,dns,users,load,procs}
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
updates/metalink | 18 kB 00:00
updates | 4.7 kB 00:00
updates/primary_db | 5.9 MB 00:29
Setting up Install Process
Package nrpe-2.12-16.fc14.x86_64 already installed and latest version
Package nagios-common-3.2.3-8.fc14.x86_64 already installed and latest version
Package nagios-plugins-1.4.15-2.fc14.x86_64 already installed and latest version
you don't need documentation on how to replace it, nrpe isn't integrated into nagios at all in the first place. If you want I can provide a script I wrote that uses func with an ssh fallback, there is also a check_ssh module that can be literally dropped in instead of check_nrpe, just set up preshared keys and off you go.
but then TBH, I was assuming this was linux to linux...
Thanks a LOT! The mystery is solved. Every resource I consulted indicated that check_nrpe would be in usr/local/nagios/libexec. Thanks to the rpm syntax you helped me with, I found that on our Fedora 14 x64 environment, the binary was placed in:
/usr/lib64/nagios/plugins/check_nrpe
I'll edit the title of this post to include '[SOLVED]'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.