LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2012, 06:34 AM   #1
mosharaf_linux
Member
 
Registered: Aug 2008
Location: Chittagong
Distribution: Red hat 9, Fedora, Centos, RHEL5, Debian
Posts: 53
Blog Entries: 1

Rep: Reputation: 0
Nagios SMS altert not working


I have configured nagios sms alert in debian. I have configured nagios with gsmutils. using gsmutils test sms can be send. But nagios can't send sms to my cell number. Here is the configuration of my nagios server.

contacts.cfg
===========
define contact{
contact_name nagiosadmin
use generic-contact
alias Nagios Admin
email m@test.com
service_notification_commands notify-service-by-sms
host_notification_commands notify-host-by-sms
pager 01833300000
}

define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}

command.cfg
============
define command{
command_name notify-service-by-sms
command_line /usr/bin/gsmsendsms -d /dev/ttyUSB2 $CONTACTPAGER$ "Nagios - $NOTIFICATIONTYPE$ : $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)"
}

define command{
command_name notify-host-by-sms
command_line /usr/bin/gsmsendsms -d /dev/ttyUSB2 $CONTACTPAGER$ "Nagios - $NOTIFICATIONTYPE$ : $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)"
}
can anyone help me about this issue???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios SMS Configuration nishith Linux - Server 3 10-19-2012 12:58 AM
Nagios SMS altert not working mosharaf_linux Linux - Server 2 04-07-2012 09:12 PM
Nagios Notification by SMS sysmanz Linux - Server 6 08-08-2011 07:03 AM
Nagios Alerts via SMS PankajRasuni Linux - Server 3 03-31-2011 01:51 AM
Nagios SMS gateway sci3ntist Linux - Server 3 09-27-2009 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration