Hi all,
I'm just started to use monit (in daemon mode).
I would like to setup monit to send an sms alert instead of an email. I read that I can do this using the EXEC action to execute a script which will send the sms. So far so good. The problem is that I need to unmonitor the service otherwise monit will execute such an action at every checking cycle (and I will run out of all available sms in a few minutes!). I would like to do something like:
if error the exec "send_sms" and unmonitor
but it seems it is not possible to execute 2 action on the same condition.
Any advice?
TIA
Maurizio