NRPE-installation

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
slimix00
Posts: 25
Joined: Sun Jul 29, 2012 11:37 am

NRPE-installation

Post by slimix00 »

HI Everyone !
Plz I need you ur help
I tried to follow these instructions :
1/ type the command : apt-get install nagios-nrpe-server (DONE)
2/ type the command : apt-get install nagios-plugins (DONE)
3/ edit the following file : /etc/nagios/nrpe.cfg by changing the : allowed-host=127.0.0.1 by the @IP of nagios server (DONE)

4/ The problem : check if the following FIle Exists >>> check_nrpe ..... (I suppose to find it in /usr/lib/nagios/plugins or usr/local/nagios/libexec )

>>>>>>> I couldn't find it
Any suggestions plz
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: NRPE-installation

Post by nscott »

Try doing:

Code: Select all

dpkg -L nagios-nrpe-server
Should give you the path of where check_nrpe was put.
Nicholas Scott
Former Nagios employee
slimix00
Posts: 25
Joined: Sun Jul 29, 2012 11:37 am

Re: NRPE-installation

Post by slimix00 »

Okeey ! I'll try it right now
slimix00
Posts: 25
Joined: Sun Jul 29, 2012 11:37 am

Re: NRPE-installation

Post by slimix00 »

It gives me the location of nrpe.cfg not check_nrpe
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE-installation

Post by slansing »

When you unzipped and configured NRPE did you make sure to do so outside of the original download directory?
slimix00
Posts: 25
Joined: Sun Jul 29, 2012 11:37 am

Re: NRPE-installation

Post by slimix00 »

YEss ! I Did
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: NRPE-installation

Post by nscott »

Then check to see if

Code: Select all

dpkg -L nagios-plugins
Does this yield the same directories that you've already checked for check_nrpe?
Nicholas Scott
Former Nagios employee
slimix00
Posts: 25
Joined: Sun Jul 29, 2012 11:37 am

Re: NRPE-installation

Post by slimix00 »

YES !! the same

Well I'm trying another tutorial !

thank youuuuu anyway ^^
Locked