checking service once a day

Silver Salonen silver at serverock.ee
Fri Aug 12 17:03:34 CEST 2011


On 12.08.2011 17:48, Jim Avery wrote:
> On 12 August 2011 15:03, Silver Salonen<silver at serverock.ee>  wrote:
>
>> Ah yes, previously I just restarted Nagios every day (from crontab) so that
>> the checks would be re-scheduled, but in the new installation Nagios does
>> not re-schedule the checks on startup. Is there an option for that? I don't
>> seem to find it...
>
> It's been a while since I've played with any of those options myself.
> I think you'll find it's this directive in nagios.cfg which controls
> whether Nagios re-schedules checks on startup ..
>
> # USE RETAINED SCHEDULING INFO
> # This setting determines whether or not Nagios will retain
> # the scheduling info (next check time) for hosts and services
> # based on the values saved in the retention file.  If you
> # If you want to use retained scheduling info, set this
> # value to 1.  If not, set this value to 0.
>
> use_retained_scheduling_info=1
>
>
> Cheers,
>
> Jim
Thank you very much, Jim!

After setting this option to 0, the next check is now scheduled to 
tomorrow 8:00 which is exactly what I want :)
So I guess the smartness of Nagios' scheduling (and whether it follows 
time period restrictions) is dependent on this option.

--
Silver

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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