mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix: availability-map showed ping devices as warning. (#7592)
This commit is contained in:
@@ -209,7 +209,7 @@ if (defined('SHOW_SETTINGS')) {
|
||||
$deviceLabel = "label-default";
|
||||
$host_ignored_count++;
|
||||
} elseif ($device['status'] == '1') {
|
||||
if (($device['uptime'] < $config['uptime_warning']) && ($device['uptime'] != '0')) {
|
||||
if (($device['uptime'] < $config['uptime_warning']) && ($device['uptime'] != 0)) {
|
||||
$deviceState = 'warn';
|
||||
$deviceLabel = 'label-warning';
|
||||
$deviceLabelOld = 'availability-map-oldview-box-warn';
|
||||
|
Reference in New Issue
Block a user