mirror of
https://github.com/Icinga/icinga2.git
synced 2025-06-02 04:40:18 +02:00
Only do flapping updates when services are in a hard state.
This commit is contained in:
parent
ad5f96b190
commit
df729d5514
@ -607,6 +607,7 @@ void Service::ProcessCheckResult(const Dictionary::Ptr& cr, const String& author
|
||||
bool was_flapping, is_flapping;
|
||||
|
||||
was_flapping = IsFlapping();
|
||||
if (GetStateType() == StateTypeHard)
|
||||
UpdateFlappingStatus(stateChange);
|
||||
is_flapping = IsFlapping();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user