Hi all,
I have successfully configured smstools and i am able to send sms from the mobile connected with the nagios server. can you guys please help me with the configuration so it will send notification as sms also. PLease check the below configuration if this will work
# 'notify-by-sms' command definition
define command{
command_name notify-by-sms
command_line /usr/bin/smssend $CONTACTPAGER$ '$SERVICEDESC$ auf $HOSTNAME$ State: $SERVICESTATE$ @$DATETIME$ Info: $OUTPUT$'
}
# 'host-notify-by-sms' command definition
define command{
command_name host-notify-by-sms
command_line /usr/bin/smssend $CONTACTPAGER$ "Host $HOSTALIAS$ is $HOSTSTATE$ @$DATETIME$ Info: $OUTPUT$"
}
Thanks in advance
Vikram
Help with SMS Notification with smstools
Re: Help with SMS Notification with smstools
You should be able to add this to the list of "notification commands" for the contacts that you'd like to use. Don't remove the default notification commands that are already there, but add this command in addition to them and that should work for you. Access the Core Config Manager->Contacts, and open the list of host or service notification commands.