Nagios XI: Host Status DOWN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CentAdm_CPDC
Posts: 10
Joined: Wed Nov 26, 2014 12:40 pm

Nagios XI: Host Status DOWN

Post 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
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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
CentAdm_CPDC
Posts: 10
Joined: Wed Nov 26, 2014 12:40 pm

Re: Nagios XI: Host Status DOWN

Post by CentAdm_CPDC »

Hi

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

Post by scottwilkerson »

What OS and version are you running?
What XI version are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
CentAdm_CPDC
Posts: 10
Joined: Wed Nov 26, 2014 12:40 pm

Re: Nagios XI: Host Status DOWN

Post by CentAdm_CPDC »

All of this happen after the upgrade
CentOS 7
Nagios XI 2014R2.5
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI: Host Status DOWN

Post by lmiltchev »

Can you run the following command and show us the output?

Code: Select all

ll /usr/local/nagiosxi/scripts
Be 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

Post by CentAdm_CPDC »

Hello

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

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked