mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Eventlog Application Alert in it's Severity Colour (#11660)
* Eventlog Application Alert in it's Severity Colour * use 'use' * enums * enum key list * typo fix
This commit is contained in:
@@ -33,4 +33,12 @@ abstract class Alert
|
||||
const NOTICE = 3;
|
||||
const WARNING = 4;
|
||||
const ERROR = 5;
|
||||
|
||||
const SEVERITIES = ['unknown' => self::UNKNOWN,
|
||||
'ok' => self::OK,
|
||||
'info' => self::INFO,
|
||||
'notice' => self::NOTICE,
|
||||
'warning' => self::WARNING,
|
||||
'error' => self::ERROR,
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user