21 Jul
2006
21 Jul
'06
2:40 p.m.
What about using SCRIPT facility of alert module ?
If e-mail is not enough
The MAIL keyword means that the alert is sent in an e-mail. Sometimes
this ends up being an SMS to your cell-phone - there are several "e-
mail to SMS" gateways that perform this service - but that may not be
what you want to do. And also, for an e-mail to actually be delivered
requires that the mail-server is working. So if you need full control
over how alerts are handled, you can use the SCRIPT method instead.
Here's how:
HOST=%(www|intranet|support|mail).foo.com SERVICE=http
SCRIPT /usr/local/bin/smsalert 4538761925 FORMAT=sms