bbfix functionality in hobbit
list Nicolas Dorfsman
Fri, 21 Jul 2006 16:40:13 +0200
Message-Id: <user-bcf5cfbed1c2@xymon.invalid>
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