mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Remove reset when reach normal but status not change
This commit is contained in:
parent
23552eb164
commit
5514b0735e
@ -2413,10 +2413,8 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
if($new_status == 0 && $ff_normal > $min_ff_event) {
|
if($new_status == 0 && $ff_normal > $min_ff_event) {
|
||||||
# Reached normal FF but status have not changed, reset counters.
|
# Reached normal FF but status have not changed, reset counter.
|
||||||
$ff_normal = 0;
|
$ff_normal = 0;
|
||||||
$ff_critical = 0;
|
|
||||||
$ff_warning = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Active ff interval
|
# Active ff interval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user