PENDING status of HOST after restart..
Posted: Mon Sep 12, 2011 5:36 am
Hi All,
I have setup Nagios 3.3.1 and its working fine but the only thing it bothers me was when I restart/reload Nagios(I add a host or a service), all the existing hosts (before I restart nagios) have PENDING status when I check the nagios webpage. Is this normal or not?is there something I need to configure on nagios.cfg or cgi.cfg to retain the last status of all of my hosts before the reload/restart?
In nagios.cfg i have this:
object_cache_file=/var/log/nagios/objects.cache
status_file=/var/log/nagios/status.dat
state_retention_file=/var/log/nagios/retention.dat
This last status of all hosts should on the above files, but it seems its not getting anything that is why its always having a PENDING status if i restart nagios(this is only my assumption)?
Hope someone can help me.Thanks.
I have setup Nagios 3.3.1 and its working fine but the only thing it bothers me was when I restart/reload Nagios(I add a host or a service), all the existing hosts (before I restart nagios) have PENDING status when I check the nagios webpage. Is this normal or not?is there something I need to configure on nagios.cfg or cgi.cfg to retain the last status of all of my hosts before the reload/restart?
In nagios.cfg i have this:
object_cache_file=/var/log/nagios/objects.cache
status_file=/var/log/nagios/status.dat
state_retention_file=/var/log/nagios/retention.dat
This last status of all hosts should on the above files, but it seems its not getting anything that is why its always having a PENDING status if i restart nagios(this is only my assumption)?
Hope someone can help me.Thanks.