Changes and SMS gateway

De Souza Zaineb zaineb.de.souza at consultant.volvo.com
Fri Mar 26 03:18:00 CET 2004


Hi I have a few problems....and I am just stuck.
First of all I have made amendments to my config files regarding ip
addresses and phone numbers, yet these changes are not taking effect,
despite that I ran the check and restarted nagios. Can anyone help me
out?

Also I need to change the command for notify-by-epager, as I am changing
sms gateway and need the contacts phonenumber in the subject of the sms.
This is the command I am using...but how do I create the variable in the
contact.cfg to correlate with the command.

# 'host-notify-by-epager' command definition: for SMS messages (Host
Issue)
define command{
	command_name	host-notify-by-epager
	command_line	/usr/bin/printf "%b"
"$NOTIFICATIONTYPE$:$HOSTNAME$:$HOSTSTATE$:$DATETIME$:$OUTPUT$" |
/bin/mail -s "$CONTACTPAGER$" 0061786897097 at sms.####.com
	}

I also want to create backup contact groups, but I only want the backup
group to be notified after a host has been down for a certain time. What
do I need to do?

Cheers
Zaineb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040326/06e0fdd1/attachment.html>


More information about the Users mailing list