- Return
TRUE
if CPU's usage >= 75% and Disk's usage >= 20%
chmod +x ./check_health.py && ./check_health.py
This script uses Python3
as interpreter and requires the following module:
- socket
- psutil
- requests
Use pip3
to install the missing modules
pip3 install [module_name]