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

add phpmodules, ping

parent 17f9a729
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ was ich so sehe ...
✅ Loadmeter
✅ MysqlConnect -> mysqli->real_connect() Fatal error: Uncaught mysqli_sql_exception: No such file or directory
✅ PdoConnect
Phpmodules
Ping
Phpmodules -> funcktioniert formal, aber bei Nicht-PHP-Apps nicht relevant; getestet werden die im Binary eincomoilierten Module
Ping
⬜ PortTcp
⬜ Simple
⬜ SqliteConnect
......
#!/usr/bin/env php
<?php
echo "
WHAT: Run check phpmodules
";
_exec("$AMCLI --ini='".__DIR__."/configs/phpmodules.ini'");
#!/usr/bin/env php
<?php
echo "
WHAT: Run check ping
";
_exec("$AMCLI --ini='".__DIR__."/configs/ping.ini'");
; =======================================================================
;
; APPMONITOR CLI CLIENT
;
; for the checks see its parameters
; <https://os-docs.iml.unibe.ch/appmonitor/PHP_client/Plugins/Checks/index.html>
;
; =======================================================================
; -----------------------------------------------------------------------
; CHECKS
; -----------------------------------------------------------------------
["PHP modules"]
description="Modules test"
function="Phpmodules"
params='{
"required": ["pdo", "json"],
"optional": ["curl"]
}'
; -----------------------------------------------------------------------
; =======================================================================
;
; APPMONITOR CLI CLIENT
;
; for the checks see its parameters
; <https://os-docs.iml.unibe.ch/appmonitor/PHP_client/Plugins/Checks/index.html>
;
; =======================================================================
; -----------------------------------------------------------------------
; CHECKS
; -----------------------------------------------------------------------
["Ping"]
description="Ping www.example.com"
function="Ping"
params='{
"host": "www.example.com"
}'
; -----------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment