Hi Dan,you should be able to set thresholds for that with the `--warning` and `--critical` parameters. To quote the help output:
```
-w, --warning
Exit with WARNING status if slave server is more than INTEGER seconds
behind master
-c, --critical
Exit with CRITICAL status if slave server is more then INTEGER seconds
behind master
```
Kind regards
Lorenz
On 07.10.24 10:59, Dan Fratean wrote:
Hello!We areĀ using your tools and they are great. I have a question though. When I use mysql_check the first alert it sends is when the slave is behind master for more than 86400 seconds. Is this a threshold we can set somewhere? It is pretty useless to know you have 1 day old data instead of 1h old data.Thank you! Dan
OpenPGP_signature.asc
Description: OpenPGP digital signature
