sms & pager problem ?

Ludo Bosmans Ludo.Bosmans at aureusim.be
Wed Dec 21 15:04:07 CET 2005


Hi Mehmet,

 

Have you tried from the command line as "Nagios user" ?

 

Kind regards,

 

ludo

 

________________________________

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mehmet
Fatih AKBULUT
Sent: woensdag 21 december 2005 10:44
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] sms & pager problem ?

 

hi all,
please tell me :
what is the relation between notify-by-pager and notify-by-sms ?
do i have to use notify-by-pager to receive sms notification when using
notify-by-sms ???
mail works but still couldnt receive any sms notification :( 
but on konsole sms works ... :(
dont know how to tell nagios to send sms ?

#/usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200 05322623103 "hello" 
the line above sends 'hello' to my mobile phone. 

but the lines below in miscommands.cfg not works :(

define command{
    command_name notify-by-sms
    command_line /usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200
05322623103 "nagios works or not." 
}

define command{
    command_name host-notify-by-sms
    command_line /usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200
05322623103 "nagios works or not."
}


where am i doing wrong ? 
why the commands above not work ?

any ideas ?
help me please ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051221/36a60f80/attachment.html>


More information about the Users mailing list