File manager - Edit - /usr/lib64/nagios/plugins/check_monarx
Back
#!/bin/bash if ! command -v monarx-agent >/dev/null 2>&1; then echo "UNKNOWN: Monarx is not installed on this server." exit 3 fi monarx_active=$(service monarx-agent status 2>/dev/null | awk '/Active: active \(running\)/ {print $2,$3}') if [[ "$monarx_active" == "active (running)" ]]; then echo "OK: Monarx is running." exit 0 else echo "CRITICAL: Monarx is not running on this server." exit 2 fi
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings