mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
"Disable alerting" on device disables alert rules check (not just alert transport) (#11015)
* Fix disable notify * Fix disable notify * Disable all alerting * fix db migration * fix db migration * fix db migration * Add autoclearing active alerts if disable alerting set * Add autoclearing active alerts if disable alerting set * fix check * Device in gray if disable_notify is set - not ignore tag
This commit is contained in:
@@ -680,7 +680,7 @@ function devclass($device)
|
||||
$class = 'list-device';
|
||||
}
|
||||
|
||||
if (isset($device['ignore']) && $device['ignore'] == '1') {
|
||||
if (isset($device['disable_notify']) && $device['disable_notify'] == '1') {
|
||||
$class = 'list-device-ignored';
|
||||
if (isset($device['status']) && $device['status'] == '1') {
|
||||
$class = 'list-device-ignored-up';
|
||||
|
Reference in New Issue
Block a user