Service Status Crticial after Client Install
Service Status Crticial after Client Install
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
How can I troubleshoot this and keep the client from failing?
Thanks,
Constance
Re: Service Status Crticial after Client Install
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?
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?
Former Nagios employee
Re: Service Status Crticial after Client Install
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
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
You do not have the required permissions to view the files attached to this post.
Re: Service Status Crticial after Client Install
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 5666Former Nagios employee
Re: Service Status Crticial after Client Install
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.
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
This is supposed to be run on the Nagios XI server.
Former Nagios employee
Re: Service Status Crticial after Client Install
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.
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
But are you still getting that error? Can you post the output?
Former Nagios employee
Re: Service Status Crticial after Client Install
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
[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
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 5666Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.