monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Send SMS and unmonitor


From: Maurizio Firmani
Subject: Send SMS and unmonitor
Date: Sat, 1 Jan 2011 01:30:09 -0800 (PST)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]