Hi Mehmet,

 

Have you tried from the command line as “Nagios user” ?

 

Kind regards,

 

ludo

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mehmet Fatih AKBULUT
Sent: woensdag 21 december 2005 10:44
To: nagios-users@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 ?

Reply via email to