Hi,
We have Nagios XI2014R2.3.
After a graceful shutdown and startup of all Nagios services the Hosts in the Service Status show up as Host Checking pending (gray color). However, the Host Status shows all Hosts as being Up (green color).
Also, when i select a host from Service status window and view the Host Status Detail is does NOT show host detail, i.e. no IP address, no host Alias.
Any idea why? This behavior is not present are other XI systems.
Please see attached.
Thanks
All Hosts Showing Up in Service Status as Host Check Pending
All Hosts Showing Up in Service Status as Host Check Pending
You do not have the required permissions to view the files attached to this post.
Re: All Hosts Showing Up in Service Status as Host Check Pen
Also i can no longer schedule a service check vi 'Schedule a forced immediate check' or schedule a host check either. Hmmm...
Re: All Hosts Showing Up in Service Status as Host Check Pen
Does restarting services fix the issue?
Code: Select all
service nagios stop
killall nagios
service ndo2db stop
service ndo2db start
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: All Hosts Showing Up in Service Status as Host Check Pen
Yes, that worked.
Below is the stop and start scripts we use. Is this the correct sequence of stopping/starting Nagios XI? Do I need to put a 'killall' in stop script to be sure all nagios services/processes are down before running the start script?
#
# This will gracefully shutdown all nagios services
# must be 'root' user
#
/sbin/service nagiosxi stop
/sbin/service npcd stop
/sbin/service ndo2db stop
/sbin/service nagios stop
/sbin/service postgresql stop
/sbin/service mysqld stop
/sbin/service httpd stop
/sbin/service gearmand stop
/sbin/service mod_gearman_worker stop
#
# This will gracefully start all nagios services
# must be 'root' user
#
/sbin/service gearmand start
/sbin/service mod_gearman_worker start
/sbin/service httpd start
/sbin/service mysqld start
/sbin/service postgresql start
/sbin/service nagios start
/sbin/service ndo2db start
/sbin/service npcd start
/sbin/service nagiosxi start
Below is the stop and start scripts we use. Is this the correct sequence of stopping/starting Nagios XI? Do I need to put a 'killall' in stop script to be sure all nagios services/processes are down before running the start script?
#
# This will gracefully shutdown all nagios services
# must be 'root' user
#
/sbin/service nagiosxi stop
/sbin/service npcd stop
/sbin/service ndo2db stop
/sbin/service nagios stop
/sbin/service postgresql stop
/sbin/service mysqld stop
/sbin/service httpd stop
/sbin/service gearmand stop
/sbin/service mod_gearman_worker stop
#
# This will gracefully start all nagios services
# must be 'root' user
#
/sbin/service gearmand start
/sbin/service mod_gearman_worker start
/sbin/service httpd start
/sbin/service mysqld start
/sbin/service postgresql start
/sbin/service nagios start
/sbin/service ndo2db start
/sbin/service npcd start
/sbin/service nagiosxi start
Re: All Hosts Showing Up in Service Status as Host Check Pen
Bring up ndo2db and npcd before nagios. Also, you may want to sleep for a few seconds after ndo is up before starting the nagios service.
Also, the nagiosxi service does nothing at this time. (I believe it just exists)
Also, the nagiosxi service does nothing at this time. (I believe it just exists)
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.
"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.
Re: All Hosts Showing Up in Service Status as Host Check Pen
ok, i will update script and test. Plz lock up.