Icinga / icinga-doc

Icinga 1.x documentation in Docbook (EOL)
https://www.icinga.org/download/
4 stars 9 forks source link

[dev.icinga.com #4902] Flap detection and counting of state changes #423

Closed icinga-migration closed 10 years ago

icinga-migration commented 10 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/4902

Created by thomasliasn@gmail.com on 2013-10-17 10:53:29 +00:00

Assignee: Wolfgang Status: Closed (closed on 2013-10-19 08:19:20 +00:00) Target Version: (none) Last Update: 2013-10-19 08:19:20 +00:00 (in Redmine)

Icinga Version: 1.9.3

According to the documentation of flapping, [[http://docs.icinga.org/latest/en/flapping.html]], section "7.8.3 Example", all state changes count towards the flap state change value. In the example 7 such state changes are shown.

However, when looking at the source code, [[https://git.icinga.org/?p=icinga-core.git;a=blob;f=base/flapping.c;h=44a94842682f76d200ae1f10e4df23efffe919f2;hb=HEAD]] :

82 /* if this is a soft service state and not a soft recovery, don't record this in the history */ 83 /* only hard states and soft recoveries get recorded for flap detection */ 84 if (svcstate_type == SOFT_STATE && svc>current_state != STATE_OK) 85 return;

, it appears that this is not the case.

icinga-migration commented 10 years ago

Updated by mfriedrich on 2013-10-18 18:07:56 +00:00

that's an icinga 1.x problem not Icinga 2. moved.

icinga-migration commented 10 years ago

Updated by Wolfgang on 2013-10-19 08:19:20 +00:00

Changed in next, commit 886dcefd40161b2bf2a67508fa9ee6ef42b04599