Nagios check for TeamRedMiner miner.
Using pip:
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
Using debian package manager:
sudo apt-get install python3-nagiosplugin
./check_teamredminer.py --help
Nagios NRPE:
command[check_teamredminer]=/opt/check_teamredminer/check_teamredminer.py --hashrate-warning 100 --hashrate-critical 90 --uptime-critical 300 --uptime-warning 600
This check has been tested on GPUs mining ethash algorithm. If you need this check to support more type of hardware mining more algorithms, feel free to contribute.
pip install pre-commit
pre-commit run --files check_teamredminer.py