Flap Detection: Why do only HARD state changes count?

Paul M. Dubuc work at paul.dubuc.org
Mon May 16 20:44:31 CEST 2011


This isn't explicitly stated in the documentation, but it seems that flap 
detection state changes only apply to HARD states.  So it's possible that a 
service check and toggle back and forth indefinitely between OK and not OK 
(unless max_check_attempts is set to 1) and flapping will not be detected.  I 
tested this with a service that does this and verified the behavior.  The Last 
State Change time gets updated with each SOFT state change, but the % state 
change for flap detection remains at 0% until I set max_check_attempts to 1 
and let it toggle between hard state changes.

Is this a bug or is it by design?  Is there a way to include SOFT state 
transitions in flap detection?

I'm using Nagios Core 3.2.3.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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