feat: Add -monitor option
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
cb53106e1f
commit
3b392700d3
4 changed files with 128 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ docker run -it --name restockbot --rm --link chromium:chromium -v $(pwd):/root/
|
|||
There are two modes:
|
||||
* **default**: without special argument, the bot parses websites and manage its own database
|
||||
* **API**: using the `-api` argument, the bot starts the HTTP API to expose data from the database
|
||||
* **monitor**: using the `-monitor` (optionaly with `-monitor-warning-timeout` and `-monitor-critical-timeout` arguments), the bot checks for last execution times per shop to return a Nagios compatible output
|
||||
|
||||
## How to contribute
|
||||
|
||||
|
|
|
|||
Reference in a new issue