diff --git a/public_html/appmonitor/appmonitor-checks.class.php b/public_html/appmonitor/appmonitor-checks.class.php index f5f8b84f40fbc279196c2afbc89b6620fd7edda8..9211230d973897ab696e911f2b5cea21325ee5c5 100644 --- a/public_html/appmonitor/appmonitor-checks.class.php +++ b/public_html/appmonitor/appmonitor-checks.class.php @@ -1,9 +1,9 @@ <?php define("RESULT_OK", 0); -define("RESULT_WARNING", 1); -define("RESULT_ERROR", 2); -define("RESULT_UNKNOWN", 255); +define("RESULT_UNKNOWN", 1); +define("RESULT_WARNING", 2); +define("RESULT_ERROR", 3); /** * APPMONITOR CLIENT CHECKS<br> * <br> diff --git a/public_html/appmonitor/index.php b/public_html/appmonitor/index.php index 303c2c67b7dae7cd8aa51e05a7fab0394e989734..c9d215097ef4f4b869effade4b374a32a0e9456f 100644 --- a/public_html/appmonitor/index.php +++ b/public_html/appmonitor/index.php @@ -10,7 +10,7 @@ $oMonitor->addCheck( "check" => array( "function" => "Simple", "params" => array( - "result" => 0, + "result" => RESULT_OK, "value" => "The appmonitor client is reachable.", ), ),