Search found 2 matches

by jmluce
Thu Nov 30, 2017 10:33 am
Forum: Open Source Nagios Projects
Topic: sending notification email on check=ok
Replies: 3
Views: 2335

Re: sending notification email on check=ok

Hi @npolovenko, Thanks for your reply, I didn't know the 'negate' command wich may be helpful. Eventually, I hardcoded an 'if return code OK then send mail' notification inside my script. Not that it is sustainable nor aesthetic... But it does the job for now, as I want an OK status for my stats. Th...
by jmluce
Mon Nov 27, 2017 6:28 am
Forum: Open Source Nagios Projects
Topic: sending notification email on check=ok
Replies: 3
Views: 2335

sending notification email on check=ok

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...