Page 1 of 4
Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:02 am
by Constance
I've successfully completed the Nagios install on a clean server (CentOS) and have now attempted to add a client for monitoring (a virtual server RHEL). The client install went well, but when I click to view the service status on it - the client servers shows all critical and my localhost shows 'ok'.
How can I troubleshoot this and keep the client from failing?
Thanks,
Constance
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:07 am
by tmcdonald
We're going to need a bit more information than that.
What is the status information? It should say something other than just critical.
How did you set up the check? Was it by hand or with a wizard?
What version of Nagios XI is this? And your CentOS server?
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:14 am
by Constance
Hi tmcdonald,
Attached is a screen shot of the service status I am referring to.
I'm running CentOS 6.4 on a 64 bit OS. The Nagios is version XI.
I attempted to setup the check by hand.
Thank you for your help!
Constance
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:19 am
by tmcdonald
Could be that your NRPE agent was not compiled with SSL support. Run the following and post the output:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <remote host ip> -n
nmap <remote host ip> -p 5666
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:27 am
by Constance
I'm getting "No such file or directory".
I assumed you wanted me to test this on the server I'm trying to monitor, but just in case I tried it on my localhost too and got the same message.
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:40 am
by tmcdonald
This is supposed to be run on the Nagios XI server.
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:43 am
by Constance
Sorry - When I said localhost I was referring to the Nagios XI server as I that is how it is referred to in the service status area.
I was able to find the check_nrpe on the Nagios XI server so /usr/local/nagios/libexec/check_nrpe is all there.
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:46 am
by tmcdonald
But are you still getting that error? Can you post the output?
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:51 am
by Constance
Sure.
[root@istation libexec]# /usr/local/nagios/libexec/check_nrpe -H <168.25.19.110> -n nmap <168.25.19.110> -p 5666
-bash: 168.25.19.112: No such file or directory
Re: Service Status Crticial after Client Install
Posted: Thu Apr 24, 2014 11:52 am
by abrist
Remove the <> from the commands:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 168.25.19.110 -n
nmap 168.25.19.110 -p 5666