<p>This is by design. As you have mentioned you can tweak the Max check attention to trigger hard state change soon after a soft state transition </p>
<div class="gmail_quote">On May 17, 2011 12:20 AM, "Paul M. Dubuc" <<a href="mailto:work@paul.dubuc.org">work@paul.dubuc.org</a>> wrote:<br type="attribution">> This isn't explicitly stated in the documentation, but it seems that flap <br>
> detection state changes only apply to HARD states.  So it's possible that a <br>> service check and toggle back and forth indefinitely between OK and not OK <br>> (unless max_check_attempts is set to 1) and flapping will not be detected.  I <br>
> tested this with a service that does this and verified the behavior.  The Last <br>> State Change time gets updated with each SOFT state change, but the % state <br>> change for flap detection remains at 0% until I set max_check_attempts to 1 <br>
> and let it toggle between hard state changes.<br>> <br>> Is this a bug or is it by design?  Is there a way to include SOFT state <br>> transitions in flap detection?<br>> <br>> I'm using Nagios Core 3.2.3.<br>
> <br>> ------------------------------------------------------------------------------<br>> Achieve unprecedented app performance and reliability<br>> What every C/C++ and Fortran developer should know.<br>> Learn how Intel has extended the reach of its next-generation tools<br>
> to help boost performance applications - inlcuding clusters.<br>> <a href="http://p.sf.net/sfu/intel-dev2devmay">http://p.sf.net/sfu/intel-dev2devmay</a><br>> _______________________________________________<br>
> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>> ::: Messages without supporting info will risk being sent to /dev/null<br></div>