Flap Detection: Why do only HARD state changes count?

ranjib dey dey.ranjib at gmail.com
Tue May 17 05:39:28 CEST 2011


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
On May 17, 2011 12:20 AM, "Paul M. Dubuc" <work at paul.dubuc.org> wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110517/32b615e0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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