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
Nagios XI: Host Status DOWN
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Nagios XI: Host Status DOWN
Last edited by swapnil.kadam on Tue Jan 27, 2015 3:06 pm, edited 1 time in total.
Re: Nagios XI: Host Status DOWN
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.
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/libexecBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI: Host Status DOWN
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_icmpFormer 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.
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Re: Nagios XI: Host Status DOWN
[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
-rwxrwxrwx. 1 root nagios 182019 Jan 22 13:47 /usr/local/nagios/libexec/check_icmp
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI: Host Status DOWN
What happens when you change the permission:
Code: Select all
chmod u+s /usr/local/nagios/libexec/check_icmpAs 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
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.
Request you to provide a resolution in one go.
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI: Host Status DOWN
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
Fabulous, the problem is fixed now and I can see the host status as ‘UP’
Thank you very much
Thank you very much