CC-3701: Need to differentiate between a service being down vs not-monitored (airtime-check-system)

-fixed
This commit is contained in:
Martin Konecny 2012-04-22 14:28:02 -04:00
parent 4d776772a9
commit 5e5ced6fe5
2 changed files with 23 additions and 1 deletions

View file

@ -222,6 +222,7 @@ class AirtimeCheck {
global $showColor;
$RED = "[0;31m";
$ORANGE = "[0;33m";
$GREEN = "[1;32m";
$color = $GREEN;
@ -229,6 +230,9 @@ class AirtimeCheck {
if ($value == "FAILED"){
$color = $RED;
self::$AIRTIME_STATUS_OK = false;
} else if ($value == "NOT MONITORED"){
$color = $ORANGE;
self::$AIRTIME_STATUS_OK = false;
}
if ($showColor)