what wrong with these ?

Mehmet Fatih AKBULUT mfatihakbulut at gmail.com
Wed Dec 14 15:20:35 CET 2005


hi all,

my command definition is like this :

define command{
    command_name host-notify-by-sms
    command_line /usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200
05322623103 "$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)"
}


[located in misscommands.cfg]

and service definition :

# 'nagios' contact definition
define contact{
    contact_name            sysadmin
    alias                Sys Admin
    service_notification_period    24x7
    host_notification_period    24x7
    service_notification_options    w,u,c,r
    host_notification_options    d,u,r
    service_notification_commands    notify-by-email,host-notify-by-sms
    host_notification_commands    host-notify-by-email,host-notify-by-sms
    email                makbulut at boun.edu.tr
    }

i get mail but have problem in getting sms :(
not received any sms for hours even many services down ?
any idea why above lines not work ?
Regads,
Bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051214/b829985e/attachment.html>


More information about the Users mailing list