uawdijnntqw1x1x1
IP : 216.73.216.189
Hostname : altar25.supremepanel25.com
Kernel : Linux altar25.supremepanel25.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
lib64
/
libnfsidmap
/
..
/
nagios
/
plugins
/
check_common
/
/
#!/bin/bash usage() { script="$(basename $0)"; echo "USAGE: $0 check <PHP API TYPE> <APACHE MPM TYPE>"; } err() { [ -n "$2" ] && echo "$2"; exit $1; } # Nagios Error Codes STATUS_OK=0 STATUS_ERROR=2 if [ "$1" != "check" ]; then usage exit $1; fi if [ -z "$2" ]; then err $STATUS_ERROR "CRITICAL: No PHP API specified." fi if [ -z "$3" ]; then err $STATUS_ERROR "CRITICAL: No Apache MPM specified." fi PHPINFO="phpinfo.$(hostname)"; GETAPI=$(/usr/bin/lynx -dump $PHPINFO | grep "Server API $2"); if [ -z "$GETAPI" ]; then err $STATUS_ERROR "CRITICAL: The PHP API is not $2"; fi echo "OK: The PHP API is $2. The Apache MPM is $3"; exit $STATUS_OK; MPMCHECK=$(/usr/bin/lynx -dump localhost/whm-server-status | grep "Server MPM: $3"); if [ -z "$MPMCHECK" ]; then err $STATUS_ERROR "CRITICAL: The Apache MPM is not $3"; fi echo "OK: The PHP API is $2. The Apache MPM is $3"; exit $STATUS_OK;
/home/../lib64/libnfsidmap/../nagios/plugins/check_common