mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Fixed alert fired
This commit is contained in:
parent
cfd2fe390e
commit
f5e165f253
@ -346,9 +346,7 @@ final class Group extends Item
|
|||||||
|
|
||||||
$countStatus = \db_get_row_sql($sql);
|
$countStatus = \db_get_row_sql($sql);
|
||||||
|
|
||||||
if ($countStatus['fired'] > 0) {
|
if ($countStatus['critical'] > 0) {
|
||||||
$status = AGENT_STATUS_ALERT_FIRED;
|
|
||||||
} else if ($countStatus['critical'] > 0) {
|
|
||||||
$status = AGENT_STATUS_CRITICAL;
|
$status = AGENT_STATUS_CRITICAL;
|
||||||
} else if ($countStatus['warning'] > 0) {
|
} else if ($countStatus['warning'] > 0) {
|
||||||
$status = AGENT_STATUS_WARNING;
|
$status = AGENT_STATUS_WARNING;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user