Ok
Can any1 tell me where is place for message itself ?
I got script to create a file in spool and as I can see I can only set 1 
argument $RECIPIENT. What should I do to write a message to file

Now I have only 
To: <smsnumber>
So I can send only empty sms'

Regards



thomas wrote:
> We are sending alerts via SMS, and this is basically how we have set it up.
> 
> I have a script which takes a number of arguments (phone numbers), when run, 
> it will read in the message from stdin and then send this to all the 
> phonenumbers listed as arguments. Get this running before involving zenoss.
> 
> When you have the script working, go to Settings in the zenoss web-admin 
> interface, and enter the path to the script followed by $RECIPIENT in the 
> 'Page Command'
> 
> ie.
> Page Command: /path/to/mysms_sender $RECIPIENT
> 
> Zenoss will stream the message in question via STDIN which is why you need to 
> make the script read from STDIN.
> 
> After this has been setup, it is simply setting up some alerting profiles 
> that will send an page and remember to enter page numbers on the users that 
> needs to receive them :-)
> 
> We have been running with this setup for maybe a year now, and it hasn't 
> given us any problems.
> 
> Regards
> Thomas





-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=38526#38526

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to