SMS Alerts

Jarrod Hodder Jarrod.Hodder at pmg.net.au
Thu Mar 19 05:18:05 CET 2009


Hello,

 

I am trying to get a custom message sent from Hobbit via sms.

All I want is the hostname with a short message sent after it.

 

So far I have

 

#!/bin/bash

echo "${BBHOSTNAME:0:160} cpu is red" | gnokii --sendsms 1234567890

 

I am using gnokii as the gate way.

I think my variable is what is causing the problem, can someone see
where I have gorn wrong?

 

Jarrod Hodder

 

Paradigm Management Group

110 Livingston Avenue

Kambah, ACT 2902

 

1300 735 370

 

Jarrod at pmg.net.au

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090319/963ddc40/attachment.html>


More information about the Xymon mailing list