Page 1 of 1

Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 4:39 pm
by swapnil.kadam
We have encountered a strange problem; I have recently installed a Nagios XI trail version as we are evaluating monitoring solution for our AWS Cloud.

I was able to successfully add hosts to Nagios Nagios XI using Configure -> Monitoring Wizard. After adding the hosts I see that all the host status is down. However when I see the Services Status everything looks perfect and has OK status.

There is warning message: This plugin must be either run as root or setuid root. But I have confirmed this that all the plugins under /usr/local/nagios/libexec all have their user set as ‘root’.

Can you please let me know what could be the possible causes and resolution for the same?


Service Status Details For All Hosts = OK

Host Status Details For All Host Groups = DOWN

Status Information: Warning: This plugin must be either run as root or setuid root.


Note: I have attached screen shots for your reference

Re: Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 5:32 pm
by tgriep
Could you go to Configure > Core Config Manager > Monitoring > Hosts

Click on the floppy icon on one of the hosts that is failing and post back the settings.

Also, can you run this command in the server and post it back. You need to capture it to a file and attach it to this post. The screen capture didn't show the full output.

Code: Select all

ll /usr/local/nagios/libexec

Re: Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 5:32 pm
by abrist
The "check-host-alive" command runs the "check_icmp" plugin. This plugin requires suid permissions. You screenshot does not show this plugin, so can you check the permissions on it?

Code: Select all

ls -la /usr/local/nagios/libexec/check_icmp

Re: Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 9:05 pm
by swapnil.kadam
[root@ip-10-1-252-182 libexec]# ls -la /usr/local/nagios/libexec/check_icmp
-rwxrwxrwx. 1 root nagios 182019 Jan 22 13:47 /usr/local/nagios/libexec/check_icmp

Re: Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 9:11 pm
by Box293
What happens when you change the permission:

Code: Select all

chmod u+s /usr/local/nagios/libexec/check_icmp

Re: Nagios XI: Host Status DOWN

Posted: Mon Jan 26, 2015 11:02 pm
by swapnil.kadam
Please find attached screenshot for permission on check_icmp after running the command provided by you.

Request you to provide a resolution in one go.

Re: Nagios XI: Host Status DOWN

Posted: Tue Jan 27, 2015 4:08 am
by Box293
Did this fix your problem?

Re: Nagios XI: Host Status DOWN

Posted: Tue Jan 27, 2015 9:25 am
by swapnil.kadam
Fabulous, the problem is fixed now and I can see the host status as ‘UP’

Thank you very much :)