From db07cc25af08bc731ba96c3c01c0bbd25d476aaa Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 28 Jul 2011 20:35:08 +0000 Subject: Fix status page of gateways to show gateways with monitoring disabled as up. --- usr/local/www/status_gateways.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php index 7e0ffc2..0aa6e56 100755 --- a/usr/local/www/status_gateways.php +++ b/usr/local/www/status_gateways.php @@ -109,6 +109,9 @@ include("head.inc"); $online = gettext("Online"); $bgcolor = "lightgreen"; } + } else if (isset($gateway['monitor_disable'])) { + $online = gettext("Online"); + $bgcolor = "lightgreen"; } else { $online = gettext("Gathering data"); $bgcolor = "lightgray"; -- cgit v1.1