1833771 Members
2392 Online
110063 Solutions
New Discussion

Alert through SMS

 
SOLVED
Go to solution
Khalid A. Al-Tayaran
Valued Contributor

Alert through SMS

Hi,

Is it possible to enable Unix to send an alert (file system reaching 90% for example) to a mobile phone (GSM)?? What do we need to configure this??

8 REPLIES 8
Clemens van Everdingen
Honored Contributor

Re: Alert through SMS

Hi,

see threads:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa9dcfef4d250d611abdb0090277a778c,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3abc53921f1ad5118fef0090279cd0f9,00.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Bart Paulusse
Respected Contributor

Re: Alert through SMS

You can use Telalert (commercial software) to do this.
You need:
-a mobile phone (duh...)
-a modem to dial out to a textmessaging service
-telalert software

regards,

Bart Paulusse
Keely Jackson
Trusted Contributor

Re: Alert through SMS

Hi

Yes it is, as we do it.

All we do, is have a script which monitors the file systems. This script then calls a kermit script which connects to a message centre and sends a sms message.

What you need is:
i, a modem, and your box configured to use it and allow outgoing calls (it is advisable to use an external modem rather than the internal one)

ii, kermit

iii, a suitable message centre that can forward your messages

If you don't have a message centre then there are e-mail accounts you can use (ie mmail and envelos) which will convert an e-mail to a sms message.

Cheers
Keely
Live long and prosper
Solution

Re: Alert through SMS

Hi,

All you need is a working GSM telephone, connected to your server via serial connection and the proper AT commands that will be send to the telephones' modem.

Keep in mind that older products (like Nokia 8210 or 6110) have a soft modem (or better to say, "modem emulator") rather than a real modem (like Siemens S25).

With such a device (like Siemens) you can use Kermit, or any other terminal emulator program to issue normal AT commands to the telephone.

Some of these commands are used to send SMS's.
It is rather simple to do it, never tested on a unix enviroment, but in W$ works great.

I'll try to dig out some of my notes and links for you...

In case still interested mail me...
Paula J Frazer-Campbell
Honored Contributor

Re: Alert through SMS

Hi

If you have your phone set up correctly and your service supplier has an email address for you phone then:-


mails -s "File system over 95%"
Example to my phone here in UK.

mails -s "File system over 95%" 07956610410@one2one.co.uk /tmp/message


the /tmp/message file just contains the server name


HTH

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: Alert through SMS

Correction

Example to my phone here in UK.

mails -s "File system over 95%" 07956610410@one2one.co.uk

HTH

Paula
If you can spell SysAdmin then you is one - anon
Nick Wickens
Respected Contributor

Re: Alert through SMS

We do this using Openview NNM.

On the HP-UX systems we use just the ovevent program from NNM for 10.20 (You can install this from CD without needing codes) and write scripts to issue SMNP (or is that SMNP - I can never remember) traps which are picked up by an Openview NNM server (Windows NT unfortunatly). This server has a standard modem connected and some free (ish?) software for sending SMS messages from a PC which we got from the Internet (try SMSMASTER). Openview NNM is then configured to run this software whenever the appropriate trap is issued. Works for us.

We also use a variation of Paula's suggestion by setting up email accounts on the UK Orange network that will send SMS alerts (or at least the subject line)to Orange mobiles when an email is received - Then all we do is send a scripted email to that account and hey presto you get your message.
Hats ? We don't need no stinkin' hats !!

Re: Alert through SMS

Hi again,

sorry it took so long.

Try the attached file which contains the AT commands recognized by all the GSM telephons (allthough these are from a Siemens manual) and the link for information on how to create the PDU.

http://www.dreamfabric.com/sms/

Create the AT command and echo it (??? better ideas??) to the serial port in wich you have the telephone connected...

And there you go. No extra software, no charge for receiving the SMS and the satisfaction of the DIY thing....