Skip to content
Snippets Groups Projects
Commit 907cf05a authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

simple check added/ tested

parent 4af23a29
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ was ich so sehe ...
✅ Phpmodules -> funcktioniert formal, aber bei Nicht-PHP-Apps nicht relevant; getestet werden die im Binary eincomoilierten Module
✅ Ping
✅ PortTcp -> sockets Modul im Binary hinzugefügt.
Simple
Simple
⬜ SqliteConnect
⬜ parent Option testen
......
#!/usr/bin/env php
<?php
echo "
WHAT: Run check simple
";
_exec("$AMCLI --ini='".__DIR__."/configs/simple.ini'");
; =======================================================================
;
; APPMONITOR CLI CLIENT
;
; for the checks see its parameters
; <https://os-docs.iml.unibe.ch/appmonitor/PHP_client/Plugins/Checks/index.html>
;
; =======================================================================
; -----------------------------------------------------------------------
; CHECKS
; -----------------------------------------------------------------------
["Simple test 1"]
description="Simple OK"
function="Simple"
params='{
"result": 0,
"value": "Everything is fine"
}'
["Simple test 2"]
description="Simple Unknown"
function="Simple"
params='{
"result": 1,
"value": "Unknown state"
}'
; -----------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment