Using Nagios
How to use Nagios to Monitor your scheduled jobs
Last updated
How to use Nagios to Monitor your scheduled jobs
Last updated
Our example job's md5 is 0f517c9d32a032b84615c82461e1c864
In your host config:
In your nrpe.cfg:
Write a SQL that shows you how many minutes have passed since last run:
Write a bash script, PHP or whatever you prefer:
In case the result of the SQL shows more than 15, exit your script with exitcode 2, if lower, exit with 0.
Read this for further informations and example scripts.