Hmm don`t know what to start. I have a problem with sending SMS via gnokii. My command looks like this
define command{
command_name notify-by-sms
command_line /usr/bin/printf "$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)" | /usr/bin/gnokii --sendsms $CONTACTPAGER$
}
my contact
define contact{
contact_name technik
alias Technik
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-by-email, notify-by-sms
host_notification_commands host-notify-by-email, host-notify-by-sms
email [email protected]
pager +48505192341
}
What am I doing wrong?