sending notification email on check=ok
Posted: Mon Nov 27, 2017 6:28 am
Hi All,
I check an as400 job queue each morning at 7. It has to have exactly 67 jobs, and the service returns either OK or CRITICAL.
This works perfectly well, but...
I would like to be notified by mail of the result, whatever it is, and not only on a not OK state (this part I know doing).
I have to add that the service is not flapping, and it doesn't recover either so I can't play with these statuses.
I perused https://assets.nagios.com/downloads/nag ... tions.html and understand that 'stable OK status = no one gets notified'. So my question is : how would you experts trick Nagios to work around this case ?
Thanks if ever
jm
--
Ubuntu 16.04 LTS / Nagios Core 4.3.4
I check an as400 job queue each morning at 7. It has to have exactly 67 jobs, and the service returns either OK or CRITICAL.
This works perfectly well, but...
I would like to be notified by mail of the result, whatever it is, and not only on a not OK state (this part I know doing).
I have to add that the service is not flapping, and it doesn't recover either so I can't play with these statuses.
I perused https://assets.nagios.com/downloads/nag ... tions.html and understand that 'stable OK status = no one gets notified'. So my question is : how would you experts trick Nagios to work around this case ?
Thanks if ever
jm
--
Ubuntu 16.04 LTS / Nagios Core 4.3.4