Re: [Nagios-users] Nagios Alert thru SMS
Hello! You want to use SMS gateway or you have a GSM modem? Best regards, Ilya. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ninjai Sent: Wednesday, May 07, 2008 11:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Alert thru SMS Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? Please help. Thanks and Regards, bulik _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20 it now. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Nagios Alert thru SMS
Hi, 07.05.2008 09:46, ninjai wrote: Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? You could search the list archives - this has been discussed extensively. A more complete answer is yes. Even more complete: Any tool you can use to send SMS'es. gnokii, sms-tools, web-based services, mail-to-sms gateways... you can choose from a wide avriety of options. Arno Please help. Thanks and Regards, bulik Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Nagios Alert thru SMS
Bulik, please keep it on the mailing list. You can achieve your aim using several ways: 1) Peter Edmond's solution: I use gnokii. I have used a Telular GSM SX5D and currently use an Easygate analog fixed cellular terminal (via serial port). Gnokii is avaialble in Debian Etch and supports a lot of mobile phones. Check http://wiki.gnokii.org/index.php/Config http://wiki.gnokii.org/index.php/Config for a partial list of supported phones. The atgen driver in gnokii supports lots of phones. /etc/gnokiirc looks like this [global] port = /dev/ttyS0 model = AT initlength = default connection = serial use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [gnokiid] bindir = /usr/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = on rlpdebug = off xdebug = off Notify command for service notifications looks like this echo -e $HOSTNAME$\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME $ |gnokii --sendsms $CONTACTPAGER$ /usr/local/groundwork/nagios/var/gnokii.log 21 For host notifications this does the job echo -e $HOSTNAME$\n$SERVICEDESC$\n$SERVICESTATE$\n$HOSTOUTPUT$\n$LONGDATETIME$ |gnokii --sendsms $CONTACTPAGER$ /usr/local/nagios/var/gnokii.log 21 Peter Edmonds 2) DD's solution: Yeah i'm using same siemens gsm terminals and it's working great. But they are out of production now, so u will have to get them some on ebay or something similar. Here is little bash script /usr/local/bin/sendsms which will send sms to specified number: - #!/bin/bash SMSCMD=/usr/bin/scmxx if [ -z $2 ];then echo Usage: $0 number text exit 0 fi $SMSCMD --device=/dev/ttyS0 --send --sms --direct -q --number=$1 --text=$2 - /usr/bin/scmxx is binary from package scmxx (debian package) for communitacion with siemens phones. Then i have notify command defined in nagios. For services it looks like this: /usr/local/bin/sendsms $CONTACTPAGER$ Service: $SERVICEDESC$ Host: $HOSTNAME$ State: $SERVICESTATE$ Notify: $NOTIFICATIONTYPE$ for hosts: /usr/local/bin/sendsms $CONTACTPAGER$ Host: $HOSTNAME$ State: $HOSTSTATE$ Notify: $NOTIFICATIONTYPE$ And for each contact has defined it's mobile phone number as pager. That's all. Cheers, DD --- As for me I use Peter Edmond's solution (gnokii). Best regards, Ilya. From: ninjai [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 12:15 PM To: Ilya Meylikhov Subject: Re: [Nagios-users] Nagios Alert thru SMS Hi Ilya, I have GSM modem brand Falcom. thanks for your prompt response regards bulik - Original Message From: Ilya Meylikhov [EMAIL PROTECTED] To: ninjai [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Sent: Wednesday, May 7, 2008 4:13:09 PM Subject: RE: [Nagios-users] Nagios Alert thru SMS Hello! You want to use SMS gateway or you have a GSM modem? Best regards, Ilya. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ninjai Sent: Wednesday, May 07, 2008 11:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Alert thru SMS Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? Please help. Thanks and Regards, bulik _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20 _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20 it now. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Nagios Alert thru SMS
On Wednesday May 7 2008 09:46:03 am ninjai wrote: Hi All, Hi, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? I'm not subscribed to this list for such a long time, but this question is asked from time to time, so I had a look in the archive. Please help. Have a look at this mailthread, I think it will help.. http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg13618.html Thanks and Regards, bulik ___ _ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail:[EMAIL PROTECTED] - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@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