I am having the same problem with my with Nagios XI. After adding a hosts all of the host status when down with the services still up.
I am getting the same warning message :
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’.
but when I tried to reconfigure I get an error messages : Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/192.168.66.24.cfg', starting on line 16)
Would anyone be able to help me
Nagios XI: Host Status DOWN
-
CentAdm_CPDC
- Posts: 10
- Joined: Wed Nov 26, 2014 12:40 pm
Nagios XI: Host Status DOWN
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI: Host Status DOWN
Can you go to Config -> CCM -> Tools -> Write Config Files
Click Delete
Click Write
Click Verify
If all is OK, click restart.
Then from the CLI please run
Click Delete
Click Write
Click Verify
If all is OK, click restart.
Then from the CLI please run
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh-
CentAdm_CPDC
- Posts: 10
- Joined: Wed Nov 26, 2014 12:40 pm
Re: Nagios XI: Host Status DOWN
Hi
the output is on the txt file
the output is on the txt file
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI: Host Status DOWN
What OS and version are you running?
What XI version are you running?
What XI version are you running?
-
CentAdm_CPDC
- Posts: 10
- Joined: Wed Nov 26, 2014 12:40 pm
Re: Nagios XI: Host Status DOWN
All of this happen after the upgrade
CentOS 7
Nagios XI 2014R2.5
CentOS 7
Nagios XI 2014R2.5
Re: Nagios XI: Host Status DOWN
Can you run the following command and show us the output?
Code: Select all
ll /usr/local/nagiosxi/scriptsBe sure to check out our Knowledgebase for helpful articles and solutions!
-
CentAdm_CPDC
- Posts: 10
- Joined: Wed Nov 26, 2014 12:40 pm
Re: Nagios XI: Host Status DOWN
Hello
the scripts output is attached
the scripts output is attached
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI: Host Status DOWN
There is a known bug with the current version on CentOS 7
Please extract the attached zip to /usr/local/nagiosxi/scripts and it should resolve the issue
Please extract the attached zip to /usr/local/nagiosxi/scripts and it should resolve the issue
You do not have the required permissions to view the files attached to this post.