[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Notification script in check program
From: |
Lutz Mader |
Subject: |
Notification script in check program |
Date: |
Thu, 21 Jun 2018 23:24:18 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Hello Tildeslash,
I use "CHECK PROGRAM" to do some additional application checks.
Based on the return code and an appropriate "IF STATUS" rule I send
alert/mail notifications from Monit.
This works well in the past, but I try to use a script to send SMS
notifications now. I get the "Status failed" alerts, but the "Status
succeeded" can not send.
Any plan to make the a "IF SUCCEEDED THEN" available for the "CHECK
PROGRAM" in the future or any suggestion how to get a succeed notification.
With regards,
Lutz
p.s.
A status check with 0 doesn't work, because the service get the status
"Status failed" with that.
- Notification script in check program,
Lutz Mader <=