Re: [Nagios-devel] Strange service scheduling

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Strange service scheduling

Post by Guest »

------=_Part_523_27167571.1238690655017
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit


----- "Ricardo Maraschini" escreveu:
> I will do this patch against development release and send again to
> list.

Follow attached.

-rm
------=_Part_523_27167571.1238690655017
Content-Type: application/octet-stream; name=patch.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch.diff

--- checks.c 2009-04-02 13:41:09.000000000 -0300
+++ checks.c 2009-04-02 13:42:26.000000000 -0300
@@ -277,7 +277,7 @@
preferred_time=current_time+((svc->check_intervalcheck_interval*interval_length));

/* make sure we rescheduled the next service check at a valid time */
- get_next_valid_time(preferred_time,&next_valid_time,svc->check_period_ptr);
+ get_next_valid_time(current_time,&next_valid_time,svc->check_period_ptr);

/* the service could not be rescheduled properly - set the next check time for next year, but don't actually reschedule it */
if(time_is_valid==FALSE && next_valid_time==preferred_time){

------=_Part_523_27167571.1238690655017--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked