LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 06-28-2011, 06:20 PM   #1
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 207

Rep: Reputation: 32
[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'.

Here's what's in my libexec directory:

Code:
check_apt
check_breeze
check_by_ssh
check_clamd
check_cluster
check_dhcp
check_dig
check_disk
check_disk_smb
check_dns
check_dummy
check_file_age
check_flexlm
check_ftp
check_http
check_icmp
check_ide_smart
check_ifoperstatus
check_ifstatus
check_imap
check_ircd
check_jabber
check_ldap
check_ldaps
check_load
check_log
check_mailq
check_mrtg
check_mrtgtraf
check_nagios
check_nntp
check_nntps
check_nt
check_ntp
check_ntp_peer
check_ntp_time
check_nwstat
check_oracle
check_overcr
check_ping
check_pop
check_procs
check_real
check_rpc
check_sensors
check_simap
check_smtp
check_spop
check_ssh
check_ssmtp
check_swap
check_tcp
check_time
check_udp
check_ups
check_users
check_wave
negate
urlize
utils.pm
utils.sh
Any ideas on how I can find check_nrpe? Do I need to compile from source?

Thanks in advance for any advice.

di11rod

Last edited by di11rod; 06-30-2011 at 11:56 AM. Reason: adding [SOLVED] to the title
 
Old 06-29-2011, 11:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 06-29-2011, 12:12 PM   #3
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 207

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by acid_kewpie View Post
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 View Post
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
Should I remove nrpe and install with rpm?

-- dillrod
 
Old 06-29-2011, 02:31 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
duh, sorry... "rpm -ql nagios-plugins-nrpe"

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...
 
Old 06-29-2011, 02:52 PM   #5
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 207

Original Poster
Rep: Reputation: 32
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:

/usr/lib64/nagios/plugins/check_nrpe

I'll edit the title of this post to include '[SOLVED]'.

Thanks again,

Seth
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios: CHECK_NRPE: Error - Could not complete SSL handshake jonaskellens Linux - Newbie 8 08-23-2014 02:56 PM
[SOLVED] Check_NRPE from Ubuntu server to OpenWRT router. Connection refused by host urikndla Linux - Newbie 17 05-31-2011 11:48 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
[SOLVED] CHECK_NRPE: Error receiving data from daemon. edwardcode Linux - Software 15 06-03-2010 08:25 AM
cannot find Nagios web interface (Nagios 3.2.0) and O/S = Fedora 10 gutiojj Linux - Newbie 7 02-04-2010 09:55 AM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration