status changing to Pending

Ajitabh Pandey ajitabhpandey at gmail.com
Wed Aug 15 19:23:19 CEST 2007


trevor obba wrote:
>
> I am running nagios version 2.5, monitoring 240 hosts and 2500
> services however every time I stop and start nagios or reload nagios configuration.10
> hosts recheck and it service status changes to “PENDING” 
>
> Those hosts are acting like are they have just be added to nagios
> for the first time but they have being added 6 month ago.
>
> How can I fix this so that it does not recheck or the service
> status change to “PENDING” every time nagios is restarted.
>   
In nagios.cfg set *
retain_state_information=1
restart nagios and let it perform the checks. After that whenever you 
will restart Nagios you will find that the state of hosts and services 
which was there when nagios was restarted is retained.

Regards.
Ajitabh Pandey
**
*

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list