Page 1 of 1

NRPE-installation

Posted: Tue Jul 31, 2012 3:42 pm
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

Re: NRPE-installation

Posted: Tue Jul 31, 2012 3:48 pm
by nscott
Try doing:

Code: Select all

dpkg -L nagios-nrpe-server
Should give you the path of where check_nrpe was put.

Re: NRPE-installation

Posted: Tue Jul 31, 2012 3:50 pm
by slimix00
Okeey ! I'll try it right now

Re: NRPE-installation

Posted: Tue Jul 31, 2012 3:55 pm
by slimix00
It gives me the location of nrpe.cfg not check_nrpe

Re: NRPE-installation

Posted: Tue Jul 31, 2012 4:52 pm
by slansing
When you unzipped and configured NRPE did you make sure to do so outside of the original download directory?

Re: NRPE-installation

Posted: Tue Jul 31, 2012 6:02 pm
by slimix00
YEss ! I Did

Re: NRPE-installation

Posted: Wed Aug 01, 2012 9:22 am
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?

Re: NRPE-installation

Posted: Thu Aug 02, 2012 1:52 pm
by slimix00
YES !! the same

Well I'm trying another tutorial !

thank youuuuu anyway ^^