PDA

View Full Version : How are you sending SMS alerts?


smoker
02-03-2007, 15:55
Hi all,

We currently send SMS alerts via an SMTP relay.
Unfortunately we also need to monitor the SMTP relay and send alerts if it is down.... :confused:

I am looking at getting a 'black box' which can send SMS messages directly using the cell phone network.

I have no idea about what brands there are for these devices or even what they are called. Cost is not (much of) an issue.

Any feedback will be much appreciated.

Alexei
02-03-2007, 16:07
I believe any serial GSM modem (Siemens, Nokia) will work perfectly with ZABBIX. The modem would cost 60-100 EUR, maybe slightly more.

smoker
05-03-2007, 16:12
Hi there,

Thanks for the reply.

I have never touched GSM sending before - should be interesting.

Anything I learn will get posted here.

Incidentally I have also written an alert script to send audio alerts via esd (which is available for windows.). Will post details of that too once I get it working with festival. (fun for all the department...).

Cheers.

medic
05-03-2007, 23:38
we use a webgateway and have a small wrapper-script

Vince2
06-03-2007, 10:33
I believe any serial GSM modem (Siemens, Nokia) will work perfectly with ZABBIX. The modem would cost 60-100 EUR, maybe slightly more.

And you must ensure that there is no PIN code on the SIM since Zabbix is not able to send it. I have searched on this for hours. ;-)

Alexei
06-03-2007, 10:48
You may also use Minicom or other software to enter PIN code before running ZABBIX.

scotti
09-03-2007, 06:49
we also use a web based SMS gateway to send alerts.

grabber
16-03-2007, 13:22
we also use a web based SMS gateway to send alerts.


Hi,

What scripts and tools are you using?

Ian

Andreas Bollhalder
05-04-2007, 17:17
We have "yaps" and "sms_client" working over analog or digital telephone line with a local UCP provider. You need to use a script which will be called by Zabbix to send the message.

Andreas

vrtareg
06-04-2007, 10:19
Hi

Is there are a possibility to use a Cell phone for this connected via Serial or USB-Serial cable such a Siemens or SonyEricsson phones?

Thanks
Areg

Alexei
06-04-2007, 14:33
Hi

Is there are a possibility to use a Cell phone for this connected via Serial or USB-Serial cable such a Siemens or SonyEricsson phones?

Thanks
Areg
Sure! Any GSM modem/phone connected to a serial port is supported by ZABBIX providee the modem accepts standard set of AT commands.

vrtareg
06-04-2007, 14:51
Thanks

I will try.

Areg

Antixrict
13-04-2007, 12:38
I try and nothing. Not work at all. I try connect Nokia 6233 via usb. Gnokii work with bluez-utils. Zabbix i configure /dev/rfcomm0 and all have permissins. But result is nothing... Maybe someone can help me?
P.S.
i try listebning rfcomm with rfcomm listen /dev/rfcomm0 1 (1 - is my channel).

Alexei
13-04-2007, 15:43
We haven't tested USB modems...

leon1977
19-08-2007, 13:21
You can find a list of supported GSM modems below.
All modems support the standard AT commands to send SMS notifications:

http://www.smssolutions.net/hardware/gsmgprs1/

Hope this helps

Leon

joshua__lim
26-10-2007, 08:55
I try and nothing. Not work at all. I try connect Nokia 6233 via usb. Gnokii work with bluez-utils. Zabbix i configure /dev/rfcomm0 and all have permissins. But result is nothing... Maybe someone can help me?
P.S.
i try listebning rfcomm with rfcomm listen /dev/rfcomm0 1 (1 - is my channel).


Some USB modems/cables come with a driver that creates a virtual COM port that will show up under modem device - this is how it works for Windows at least. You can find an example and screenshots for iTegno USB modem here - http://www.visualgsm.com/documentation/pafiledb.php?action=file&id=25 (Refer to page 1 and 2).

For your case, you might have to find the Linux driver for Nokia 6233.


Rgds,
Joshua Lim
SMS Gateway (http://www.visualtron.com)@Expert

Niels
12-11-2007, 11:58
This thread should be moved to a support forum!

What's the status of this now? Does a GSM phone with a USB cable work out of the box with Zabbix?

bbrendon
12-11-2007, 19:41
Basically it sounds like anything will work with zabbix as long as it works with linux.

So... you probably want to test it from inside linux first and then make sure zabbix has permissions and test as the zabbix user after you've gotten it to work in linux as root etc.

As far as "out of the box" ...well, that would require zabbix to discover where you modem/device is located under /dev.

woger
02-02-2008, 10:03
Maybe a little late, but I use just an "email to sms" service provider (I use world-text for example) just simply send an email and you will receive it on your phone by sms.

fableman
04-02-2008, 10:10
Maybe a little late, but I use just an "email to sms" service provider (I use world-text for example) just simply send an email and you will receive it on your phone by sms.

Don't do that.

Its treally bad cos your ISP or the service be down and you never get the important SMS.

If you going to send SMS's do it your self over a wireless phone /modem on UPS soo if you loose power you still revice the SMS.

fableman
04-02-2008, 15:27
For linux. (iam using centos 5)

How to send SMS from mobilephone that supports AT commands for SMS (all phons don't do it)


This is how I do it.

1. Install http://pxh.de/fs/gsmlib/download/index.html

2. insert you USB cable from your phone (ex. Ericsson M600i )into your linux server runnin zabbix.

3. cat /var/log/messages and check what the Phone interface will be.

(ex.
Feb 4 11:48:14 netscan kernel: usb 2-1: new full speed USB device using uhci_hcd and address 7
Feb 4 11:48:14 netscan kernel: usb 2-1: configuration #1 chosen from 1 choice
Feb 4 11:48:14 netscan kernel: cdc_acm 2-1:1.1: ttyACM0: USB ACM device
Feb 4 11:48:14 netscan kernel: cdc_acm 2-1:1.3: ttyACM1: USB ACM device
Feb 4 11:48:14 netscan kernel: cdc_acm 2-1:1.5: ttyACM2: USB ACM device
)

4. now you know your phone is connected via ttyACMx (x=0-2, mostly1 )

5. now time to send a SMS..

gsmsendsms -d /dev/ttyACM1 -b 115200 +ccmmmmmm "fableman made my day"

(cc=your county code .ex +46 for sweden) mm=your mobile phone (and remove the first 0 if any)


soo...

gsmsendsms -d /dev/ttyACM1 -b 115200 +46701234567 "fableman made my day"


(will send a sms to a swedish mobile phone at 070-1234567)


Hope this small fast guide helped anyone.

And how to make zabbix send an MSM using gsmsendsms Iam sure you know.

Maybee there is other ways but works for me :)

Anton
08-04-2008, 21:18
i just added a script to use an german sms-gateway to the wiki (and upgraded the syntax of the whole wiki-page):

http://www.zabbix.com/wiki/doku.php?id=howto:smsapi


we use this script to notify paying customers in a "MaaS" (Monitoring as a Service :) ).


i personally use the mail2sms-Gateway of my mobile phone provider ... had some delays (up to 10 minutes) recently, but normally sms are on the phone between seconds ...


i don't know the prices elsewhere, but 19 euro-cent in a standard mobile phone contract here in germany is quite expensive, if you monitor a lot of services ... had almost 1000 sms/mail2sms in a month once ...


greetings from germany,
Anton

fableman
09-04-2008, 17:13
I stop using a mobile phone for sending SMS messages cos it sometimes hangs and kernerl panic on the phone (i hate smart phones)

I now got myself a SAMBA 75 USB device connected to my linux server to send the SMS and I coded my own mail-sms-gateway using bash :)

Soo I can mail from zabbix or any other application/system to the mail2sms gateway i made.

It even converts MIME coded mails into text sms and handels едц characters aswell, and have a que system.

I still use the gsmsendsms to send away the message with the SAMBA75 USB device.

DiedX
11-04-2008, 19:07
In the Netherlands this unit costs 175 Euro's. Why would I use this, when I can get a much cheaper SMS-Gateway? Or is SMS-ing free from this one??

fableman
14-04-2008, 11:41
In the Netherlands this unit costs 175 Euro's. Why would I use this, when I can get a much cheaper SMS-Gateway? Or is SMS-ing free from this one??

Maybee your servers isent that important,,, but what if internet access goes down or that company do a missconfiguration or anthing else you cant fix yourself.? (Lots of stuff that can go wrong between your IP and that service.)

175 EU's is nothing for a computer center costs to make secure sms messages.

Harris
03-03-2009, 13:37
I'm using a Siemens TC35i connected on my Zabbix server.
I really think that worth the investment, almost plug and start sending sms.
And of course, no need to worry about reaching an external sms provider!

lostmarbles
04-03-2009, 20:49
We are using an email to sms service and are satisfied so far.

http://www.textmagic.com

Calimero
05-03-2009, 10:59
I'm using a Siemens TC35i connected on my Zabbix server.


How much does one of these cost ? :confused:

welkin
05-03-2009, 13:09
We are also using the Siemens TC35i.
Have a look at http://www.telefon.de for prices. Do not forget to also order the antenna and the power supply.

regards welkin

tomastamm
26-07-2010, 15:30
best and cheapest http://www.2-waysms.com , Api

mattsmith
19-08-2010, 11:42
If you have a IPhone I recommend looking into prowl as its free (apart from the app $3), I am currently using it and haven't missed a notification. Other SmartPhones may offer an alternitive

xsbr
11-02-2011, 04:19
I recommend clickatell.com, because it's a made solution and we don't need worry about SMS/Modem/Cellphones technology.

Slesers
16-02-2011, 19:07
Maybe someone is using Carboardfish service? Is there any expierance?

Maybe someone can share with sending script. Because at the moment some kinda stuck