<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>FW: Jabber notification</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Well I might have figured out how to change it, if I can figure out how to assign the variables in the miscommands.cfg file</FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">There is a section labeled $CONTACTMAIL$ which sends the email, and I am guessing it gets this from the email section In the contacts.cfg file, but how do you assign this variable to $CONTACTMAIL$?</FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Thanks.</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Tom</FONT>
</P>

<P><FONT FACE="Arial"></FONT> <FONT SIZE=1 FACE="Tahoma">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Edwards, Thomas  </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Wednesday, July 09, 2003 4:55 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To:    </FONT></B>                 
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:       </FONT></B> <FONT SIZE=1 FACE="Tahoma">Jabber notification</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I was wondering if anyone had gotten the jaber notification to work and could provide me a little insite into configureing this.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I got the jabber script here </FONT><A HREF="http://www.nagios.org/faqs/viewfaq.php?faq_id=50"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.nagios.org/faqs/viewfaq.php?faq_id=50</FONT></U></A><FONT SIZE=2 FACE="Arial">  and configured it.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Installed the appropriate jabber perl mods to allow sending via the script alone etc:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[nagios@nagios etc]# ./jabber</FONT>
<BR><FONT SIZE=2 FACE="Arial">Usage...</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notify [jabberid] [message]</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Then modified miscommands.cfg as follows according to the jabber script</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial"># 'notify-by-jabber' command definition</FONT>
<BR><FONT SIZE=2 FACE="Arial">define command{</FONT>
<BR><FONT SIZE=2 FACE="Arial">        command_name    notify-by-jabber</FONT>
<BR><FONT SIZE=2 FACE="Arial">        command_line    /usr/local/nagios/etc/jabber user@localhost "**$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONT</FONT></P>

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

<P><FONT SIZE=2 FACE="Arial">Added a line to contacts.cfg for notify-by-jabber to see if it would send, so far nothing.  No errors as far as I can see.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Any suggestions or clarifications would be greatly appreciated.</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT FACE="Arial">Tom</FONT>
</P>

<CODE><FONT SIZE=3><BR>
<BR>
************************************************************<BR>
The information in this email is confidential and may be <BR>
legally privileged. It is intended solely for the addressee,<BR>
and access by anyone else is unauthorized.<BR>
<BR>
If you are not the intended recipient, any disclosure, <BR>
copying, distribution or any action taken or omitted to be<BR>
taken in reliance on it, is prohibited and may be unlawful. <BR>
<BR>
If you believe that you have received this email in error, <BR>
please advise us by calling (901) 385 3688, or emailing<BR>
mailgateway@accredohealth.net, and then delete this message<BR>
and all copies and backups thereof. Thank you.<BR>
************************************************************<BR>
</FONT></CODE>
</BODY>
</HTML>