Any ideas on how I can find check_nrpe? Do I need to compile from source?

Thanks in advance for any advice.

di11rod

acid_kewpie

06-29-2011 11:54 AM

run "rpm -ql check_nrpe"

nrpe is *HORRIBLE* though, I would REALLY suggest using a secure mechanism like func or SSH instead of this awful hack.

di11rod

06-29-2011 12:12 PM

Quote:

Originally Posted by acid_kewpie
(Post 4399236)

run "rpm -ql 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
(Post 4399236)

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:

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

di11rod

06-29-2011 02:52 PM

Chris,

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: