I have added a service to monitor that i can enable/disable to test notifications but having a little fun with it that someone can hopefully help me with.
Email Notifications are coming through to me fine for both Host and Service however SMS notifications only come through for Host notifications.
1. I created a script to send SMS' on the server
2. Created a command in CCM called "notify-host-by-sms"
3. Updated my contact to include notify-host-by-sms in the host notifications
This works, but when doing the same for a new command called "notify-service-by-sms" i don't get service notifications via SMS?
I added the notify-service-by-sms to my contacts manage service notification commands.
Do i need to do something else to make this work for Service Notifications?
If i add the notify-host-by-sms into the service alert commands, i get SMS alerts but they currently just say "PROBLEM Host Alert - MY-SERVER-01 is UP" as its configured with "Host" vaiables rather than "Service" variables
The command for the alerts are:
Host Alert
Code: Select all
/usr/local/bin/send_sms.sh "$CONTACTPAGER$" "Host Alert: $HOSTALIAS$ is $HOSTSTATE$ - Info: $HOSTOUTPUT$"
Code: Select all
/usr/local/bin/send_sms.sh "$CONTACTPAGER$" "Service Alert: $SERVICEDESC$ on $HOSTALIAS$ is $SERVICESTATE$
Jamie