mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Add support for 'not_normal' alert templates.
Former-commit-id: f9bf95bd64f399badcd5f00b80921255f4642a8c
This commit is contained in:
parent
9e0748e718
commit
a49eaf90f6
@ -566,6 +566,7 @@ sub pandora_evaluate_alert ($$$$$$$;$$$) {
|
||||
return $status if ($last_status != 1 && $alert->{'type'} eq 'critical');
|
||||
return $status if ($last_status != 2 && $alert->{'type'} eq 'warning');
|
||||
return $status if ($last_status != 3 && $alert->{'type'} eq 'unknown');
|
||||
return $status if ($last_status == 0 && $alert->{'type'} eq 'not_normal');
|
||||
}
|
||||
# Event alert
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user