Matthew Robinson wrote:
Is it possible to have monit do custom alerts?
Something along the lines of:
http://mysms.server.com/sms?to=0780000000&from=Monit&msg={ALERT_MESSAGE}
AFAIK it's not possible, but I'd really like that too. Right now I have
a script which converts the mail contents to an URL like the one you
mentioned.
Although I think I'd prefer going through a script anyway, just cut the
mail part out, like alert="/opt/mysmsscript.sh" and the message would be
piped there.
Regards,
--
Aleksander Kamenik
system administrator
+372 6659 649
[EMAIL PROTECTED]
Krediidiinfo AS
http://www.krediidiinfo.ee/
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general