<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>scheduling queue and stale service checks</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">Hello Nagios Users,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have noticed  when you restart Nagios or reload the configuration using the init (/etc/init.d/nagios) script, the scheduling queue starts over from the beginning. For example:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">You have hosts A..Z configured with ten services on each host. </FONT>
<BR><FONT SIZE=2 FACE="Arial">Your service_interleave_factor is set to "s" and the bin/nagios -s etc/nagios.cfg is giving a max_concurrent_check value of 5.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Nagios checks 5 services on each host.</FONT>
<BR><FONT SIZE=2 FACE="Arial">You restart or reload Nagios, </FONT>
<BR><FONT SIZE=2 FACE="Arial">The scheduling queue reschedules the 5 services that already have been checked before the reload instead of continuing where it last ended.</FONT></P>

<P><FONT SIZE=2 FACE="Arial"> I have noticed this causing stale service checks because the scheduling queue does not retain state between restarts or reloads.   </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Is anyone else having this problem?  Is there a setting(s) that I have missed in the nagios.cfg?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Suggestions will be appreciated.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">John</FONT>
</P>

</BODY>
</HTML>