<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Changes and SMS gateway</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi I have a few problems….and I am just stuck.</FONT>

<BR><FONT SIZE=2 FACE="Arial">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?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">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.</FONT></P>

<P><FONT SIZE=2 FACE="Arial"># 'host-notify-by-epager' command definition: for SMS messages (Host Issue)</FONT>

<BR><FONT SIZE=2 FACE="Arial">define command{</FONT>

<BR>        <FONT SIZE=2 FACE="Arial">command_name    host-notify-by-epager</FONT>

<BR>        <FONT SIZE=2 FACE="Arial">command_line    /usr/bin/printf "%b" "$NOTIFICATIONTYPE$:$HOSTNAME$:$HOSTSTATE$:$DATETIME$:$OUTPUT$" | /bin/mail -s "$CONTACTPAGER$" 0061786897097@sms.####.com</FONT></P>

<P>        <FONT SIZE=2 FACE="Arial">}</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Cheers</FONT>

<BR><FONT SIZE=2 FACE="Arial">Zaineb</FONT>
</P>

</BODY>
</HTML>