[mrtg] Re: Help required(sending SMS alerts)

NOP Student nopstudent at exchange.csuchico.edu
Mon Dec 18 22:59:09 MET 2006


Hi,

For sending SMS message you need to send AT commands to you mobile
phone. I wrote a program in C and it use to be called by the nagios.
This program send message packed in AT commands to mobile phone/GSM
Modem and it sends the SMS message.

I am not sure about perl. If you can do the same in perl then I think
its not that difficult.

For getting the email, you will have to write a script/code that gets
the messages from the mail server. But you might be able to find the
scripts for that too.

Best of luck

Nauman Malik
Student Analyst
Network Operations
California State University, Chico
California, USA

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Syed Waqqas Ahmed
Sent: Monday, December 18, 2006 7:37 AM
To: mrtg at list.ee.ethz.ch; smokeping-users at list.ee.ethz.ch
Subject: [mrtg] Help required(sending SMS alerts)

Hi all,
   
  I need some help in configuring sms alert using mobile phone attached
to linux machine via serial cable.. Well i am able to communicate to
mobile and send sms and make call using gnokii software. 
   
  But i want my mobile to automatically generate alerts when an email is
received to any email account on linux machine along with the contents
of email.
   
  Like i recieve email alerts of smokeping and now i want to send those
alerts through SMS.. I am not using any SMS gateway .. its simply a
mobile phone attached to the machine via serial cable..
   
  Can any one help me out.. or provide the script to do so. 
   
  I hope you all understand what my problem is.. Any help in this
regards will be highly apperciated.
   
  Regards
   
  S. Waqqas
   
 Send instant messages to your online friends
http://uk.messenger.yahoo.com 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list