Service Status Crticial after Client Install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Constance
Posts: 22
Joined: Thu Mar 27, 2014 11:34 am

Service Status Crticial after Client Install

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Status Crticial after Client Install

Post 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?
Former Nagios employee
Constance
Posts: 22
Joined: Thu Mar 27, 2014 11:34 am

Re: Service Status Crticial after Client Install

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Status Crticial after Client Install

Post 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
Former Nagios employee
Constance
Posts: 22
Joined: Thu Mar 27, 2014 11:34 am

Re: Service Status Crticial after Client Install

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Status Crticial after Client Install

Post by tmcdonald »

This is supposed to be run on the Nagios XI server.
Former Nagios employee
Constance
Posts: 22
Joined: Thu Mar 27, 2014 11:34 am

Re: Service Status Crticial after Client Install

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Status Crticial after Client Install

Post by tmcdonald »

But are you still getting that error? Can you post the output?
Former Nagios employee
Constance
Posts: 22
Joined: Thu Mar 27, 2014 11:34 am

Re: Service Status Crticial after Client Install

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Status Crticial after Client Install

Post 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
Former 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.
Locked