mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Alertlog messaging (#14861)
This commit is contained in:
@@ -532,9 +532,9 @@ class RunAlerts
|
||||
AlertState::RECOVERED => 'recovery',
|
||||
AlertState::ACTIVE => $obj['severity'] . ' alert',
|
||||
AlertState::ACKNOWLEDGED => 'acknowledgment',
|
||||
AlertState::WORSE => 'got worse',
|
||||
AlertState::BETTER => 'got better',
|
||||
];
|
||||
$prefix[3] = &$prefix[0];
|
||||
$prefix[4] = &$prefix[0];
|
||||
|
||||
if ($obj['state'] == AlertState::RECOVERED) {
|
||||
$severity = Alert::OK;
|
||||
|
Reference in New Issue
Block a user