uawdijnntqw1x1x1
IP : 216.73.216.53
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
/
python2.7
/
..
/
python3.8
/
..
/
nagios
/
plugins
/
check_lsws_license.sh
/
/
#!/bin/bash LICENSE_FILE="/usr/local/lsws/conf/license.key" LICENSE_CHECK=$(sudo du $LICENSE_FILE | awk '{print $1}') LSWS_STATUS=$(systemctl is-active lsws) if [[ "$LICENSE_CHECK" = "0" ]] then echo "CRITICAL: License has not been validated online. Validate with /usr/local/lsws/bin/lshttpd -V" exit 2 elif [[ "$LSWS_STATUS" != "active" ]] then echo "CRITICAL: Litespeed Web Server not running. Investigate further." exit 2 else echo "OK: Litespeed Web Server running and Litespeed Web Server license file in check." exit 0 fi
/home/.././lib64/python2.7/../python3.8/../nagios/plugins/check_lsws_license.sh