Nagios XI: Host Status DOWN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
swapnil.kadam
Posts: 48
Joined: Fri Dec 05, 2014 10:38 am

Nagios XI: Host Status DOWN

Post 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
Last edited by swapnil.kadam on Tue Jan 27, 2015 3:06 pm, edited 1 time in total.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI: Host Status DOWN

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI: Host Status DOWN

Post 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
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.
swapnil.kadam
Posts: 48
Joined: Fri Dec 05, 2014 10:38 am

Re: Nagios XI: Host Status DOWN

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios XI: Host Status DOWN

Post by Box293 »

What happens when you change the permission:

Code: Select all

chmod u+s /usr/local/nagios/libexec/check_icmp
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
swapnil.kadam
Posts: 48
Joined: Fri Dec 05, 2014 10:38 am

Re: Nagios XI: Host Status DOWN

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios XI: Host Status DOWN

Post by Box293 »

Did this fix your problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
swapnil.kadam
Posts: 48
Joined: Fri Dec 05, 2014 10:38 am

Re: Nagios XI: Host Status DOWN

Post by swapnil.kadam »

Fabulous, the problem is fixed now and I can see the host status as ‘UP’

Thank you very much :)
Locked