diff --git a/jilo-agent.php b/jilo-agent.php new file mode 100644 index 0000000..49bae8a --- /dev/null +++ b/jilo-agent.php @@ -0,0 +1,16 @@ + shell_exec('/etc/init.d/nginx status')]); + +// jvb status +} elseif ($_SERVER['REQUEST_URI'] === '/jvb/status') { + echo json_encode(['jvb' => shell_exec('/etc/init.d/jitsi-videobridge status')]); + +// default response - error +} else { + echo json_encode(['error' => 'Endpoint not found']); +} + +?>