Sending notifications via SMS+mobile phone
Gareth Watson
GarethWatson at totemcomms.com
Mon Mar 17 10:00:47 CET 2008
We use that terminal at our workplace. I have been using SMSLink very successfully for the past 12 months.
I did have to play with the source code to get it working just how we wanted. However, the developer tells me that the changes I have made are now included in the new version. I would take a look at that if you want an easy way to get this working:
http://smslink.sourceforge.net/
Once configured and installed all we needed to do was create a notification command like this:
define command{
command_name notify-by-sms
command_line echo -e "$SERVICEDESC$\r$HOSTNAME$\r$SERVICESTATE$\r$SERVICEOUTPUT$" | /usr/local/bin/sendsms -d $CONTACTPAGER$ -Q -f'-' localhost 2>/dev/null
}
Works a treat for us. Plus we like the fact that we can also send SMSs to this software. This means that, in theory at least, our engineers could acknowledge a problem or get a status report from Nagios by texting the SMS modem. We have yet to implement this but it was a big selling point for our installation.
I hope this helps,
Gareth.
________________________________
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis Hünseler
Sent: 17 March 2008 08:02
To: Meylikhov
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone
Meylikhov schrieb:
Hi!
Do you use this one - Siemens TC35i Terminal -
http://www.warburtech.com/gsm/tc35i.terminal/ ?
-----Original Message-----
From: Sander Klein [mailto:sander at pictura-dp.nl]
Sent: Friday, March 14, 2008 1:38 PM
To: Meylikhov
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone
Hi,
I use the siemens tc35i gsm modem and think it's great. Just hook it up
to your COM port, install smstool (which is in debian) create the
configfile, make a script to send sms and go....
It's really easy.
Greets,
Sander
Meylikhov wrote:
Hello, everybody!
Can anyone assist me in solving the following task: I need nagios to
send SMS via mobile phone connected to COM port. Are there are such
possibilities in nagios and are there any plugins that support sending
sms via mobile phone? I found only one plugin (NAGIOSMS:
http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi
ew]=619
)that is currently supports sending notifications via mobile phone but
I even can't imagine how to connect mobile phone to my Linux Debian
4.0 server (2.6.18-6-686). Maybe someone already has configured
notifications send via mobile phone and can suggest me what mobile
phone to buy? I also need any help (suggestions,links, documentation,
etc) in connecting mobile phone to my Linux Debian 4.0 server.
My system:
Nagios server: Linux Debian 4.0 server 2.6.18-6-686
Nagios: nagios-3.0b5
Nagios plugins: nagios-plugins-1.4.11
NRPE: nrpe-2.10
Thank you!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Hey, this is the right one. You can also use the Siemens MC35
Works also great with smstool. Used it in several companies...
Regards, Dennis
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list