mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -95,7 +95,8 @@ class AvailabilityMapController extends WidgetController
|
||||
// process status
|
||||
$uptime_warn = (int) Config::get('uptime_warning', 86400);
|
||||
$check_maintenance = AlertSchedule::isActive()->exists(); // check if any maintenance schedule is active
|
||||
$totals = ['warn' => 0, 'up' => 0, 'down' => 0, 'maintenance' => 0, 'ignored-up' => 0, 'ignored-down' => 0, 'disabled' => 0];
|
||||
// TODO: take a deeper look, why key ignored still has to exist
|
||||
$totals = ['warn' => 0, 'up' => 0, 'down' => 0, 'maintenance' => 0, 'ignored' => 0, 'ignored-up' => 0, 'ignored-down' => 0, 'disabled' => 0];
|
||||
$data = [];
|
||||
|
||||
foreach ($devices as $device) {
|
||||
|
Reference in New Issue
Block a user