Skip to content
Snippets Groups Projects
Commit 9ecca240 authored by Axel Hahn's avatar Axel Hahn
Browse files

appmonitor checks: change in result_codes

parent 47da8adf
No related branches found
No related tags found
No related merge requests found
<?php <?php
define("RESULT_OK", 0); define("RESULT_OK", 0);
define("RESULT_WARNING", 1); define("RESULT_UNKNOWN", 1);
define("RESULT_ERROR", 2); define("RESULT_WARNING", 2);
define("RESULT_UNKNOWN", 255); define("RESULT_ERROR", 3);
/** /**
* APPMONITOR CLIENT CHECKS<br> * APPMONITOR CLIENT CHECKS<br>
* <br> * <br>
......
...@@ -10,7 +10,7 @@ $oMonitor->addCheck( ...@@ -10,7 +10,7 @@ $oMonitor->addCheck(
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
"result" => 0, "result" => RESULT_OK,
"value" => "The appmonitor client is reachable.", "value" => "The appmonitor client is reachable.",
), ),
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment