feat: Version 1.0.0
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
00b8e3e946
commit
6c041e2c8a
4 changed files with 401 additions and 0 deletions
45
README.md
Normal file
45
README.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# check_teamredminer
|
||||
|
||||
Nagios check for [TeamRedMiner miner](https://github.com/todxx/teamredminer).
|
||||
|
||||
# Installation
|
||||
|
||||
Using pip:
|
||||
|
||||
```
|
||||
python3 -m venv venv
|
||||
. ./venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Using debian package manager:
|
||||
|
||||
```
|
||||
sudo apt-get install python3-nagiosplugin
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
```
|
||||
./check_teamredminer.py --help
|
||||
```
|
||||
|
||||
# Examples
|
||||
|
||||
Nagios NRPE:
|
||||
|
||||
```
|
||||
command[check_teamredminer]=/opt/check_teamredminer/check_teamredminer.py --hashrate-warning 100 --hashrate-critical 90 --uptime-critical 300 --uptime-warning 600
|
||||
```
|
||||
|
||||
# Limitations
|
||||
|
||||
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 contribue.
|
||||
|
||||
# Contributing
|
||||
|
||||
```
|
||||
pip install pre-commit
|
||||
pre-commit run --files check_teamredminer.py
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue