Page 1 of 1

Nagios XI: Host Status DOWN

Posted: Tue Jan 27, 2015 11:22 am
by CentAdm_CPDC
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

Re: Nagios XI: Host Status DOWN

Posted: Tue Jan 27, 2015 5:48 pm
by scottwilkerson
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

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh

Re: Nagios XI: Host Status DOWN

Posted: Thu Jan 29, 2015 9:21 am
by CentAdm_CPDC
Hi

the output is on the txt file

Re: Nagios XI: Host Status DOWN

Posted: Thu Jan 29, 2015 10:04 am
by scottwilkerson
What OS and version are you running?
What XI version are you running?

Re: Nagios XI: Host Status DOWN

Posted: Thu Jan 29, 2015 10:16 am
by CentAdm_CPDC
All of this happen after the upgrade
CentOS 7
Nagios XI 2014R2.5

Re: Nagios XI: Host Status DOWN

Posted: Thu Jan 29, 2015 12:20 pm
by lmiltchev
Can you run the following command and show us the output?

Code: Select all

ll /usr/local/nagiosxi/scripts

Re: Nagios XI: Host Status DOWN

Posted: Fri Jan 30, 2015 8:54 am
by CentAdm_CPDC
Hello

the scripts output is attached

Re: Nagios XI: Host Status DOWN

Posted: Fri Jan 30, 2015 1:30 pm
by scottwilkerson
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
scripts.zip