Hi, - First login your Zenoss machine as the Zenoss user.
- Navigate to your Zenoss user home folder (this is a good place to put the script.) cd /home/zenoss - use a text editor to creat a file pico Zenoss2SMS and put this as the first line of your file #!/bin/sh exit the file and save it now you must turn the Zenoss2SMS file into an executable chmod +x Zenoss2SMS when you type "ls -l" you should see the Zenoss2SMS file as executable - in the Zenoss webinterface "Management -> Settings -> Page Command" change it to run the shell script you just made /home/zenoss/SMS/Zenoss2SMS $RECIPIENT - Now you just need to add the right AT commands in the "Zenoss2SMS" file. But before you do all this you mus first try to send an SMS via the AT command from the Linux terminal commands line. To do this you just type the commands in the linux terminal and send them to the interface that connects the modem to your Zenoss box. In my case this is a serial interface /dev/ttyS0. (list all interfaces with the "ls /dev/" command). These AT commands worked for me, as you can see I send them to them right interface using the > AT+CSCA=numberofthesmscentral > /dev/ttyS0 AT+CMGF=1 > /dev/ttyS0 AT+CMGS=thenumberthatshouldgetthesms > /dev/ttyS0 themessageitslef^Z" > /dev/ttyS0 As you can see I need to and the message with a control Z -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=30967#30967 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
