Strange service scheduling [PATCH]

Bernd Arnold bernd_a at gmx.de
Fri Apr 3 15:17:00 CEST 2009


-------- Original-Nachricht --------
> Datum: Thu, 2 Apr 2009 13:44:15 -0300 (BRT)
> Von: Ricardo Maraschini <ricardo.maraschini at opservices.com.br>
> An: Nagios Developers List <nagios-devel at lists.sourceforge.net>
> Betreff: Re: [Nagios-devel] Strange service scheduling

> Follow attached.
> 
> -rm

Hi Ricardo,

I've tested your patch and it works fine. Thanks! 

The rescheduling works fine now for
- The scheduled check tim is not in time period after modifying time period
- System time has changed ("Warning: A system time change ... 
  (backwards in time) has been detected. Compensating...") 
  before the service check enters its (positive) time period again

I think we should handle the host checks the same way. 

I've modified the behavior when the checks still can't be rescheduled properly: The check is scheduled a week in the future. Additionally, the failing reschedule is written to the event log, so we can see if something's going wrong.

The patch includes Ricardos patch and my changes described above.

Regards
Bernd

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch2.diff
Type: text/x-patch
Size: 2338 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090403/692274a5/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list