Notify by SMS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notify by SMS

Post by scottwilkerson »

When I look at the contact "Matt Cell" and "GID Alerts" you have notify-host-by-sms in the Service Notification Command

this needs to be removed or it will send the host command when sending notifications for a service

I would also suggest changing the notify-host-by-sms command to the following so it will look like the service command

Code: Select all

/usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$ $HOSTALIAS$ is $HOSTSTATE$  Additional Info:\n\n$HOSTOUTPUT$" |/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTPAGER$
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked