<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5346.5" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Lucida Bright" color=#0000ff size=2><SPAN
class=531522012-24052006>I didn't have any luck getting any of the Perl based
Jabber scripts to work. I kept getting an error in one of the XMPP
modules.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Bright" color=#0000ff size=2><SPAN
class=531522012-24052006></SPAN></FONT> </DIV>
<DIV align=left><FONT face="Lucida Bright" size=2>--</FONT></DIV>
<DIV align=left><FONT face="Lucida Bright" size=2>Aaron Kent Moore</FONT></DIV>
<DIV align=left><FONT face="Lucida Bright" size=2>Information Technology
Services</FONT></DIV>
<DIV align=left><FONT face="Lucida Bright" size=2>DeKalb Memorial Hospital,
Inc.</FONT></DIV>
<DIV align=left><FONT face="Lucida Bright" size=2>Auburn, IN</FONT></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Norman
Harebottle<BR><B>Sent:</B> Tuesday, May 23, 2006 8:52 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Jabber
Custom Notification Script Not Working<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>Hello
Everyone,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>I am wondering if
anyone has had success getting the Jabber Notification script written by David
Cox to work.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>I have a user
called nagios under which nagios runs and using "su nagios" (on Debian) I can
run the script and it notifies just fine. So I am concluding that it is not a
security related issue nor a script execution error since it works
correctly. However, when running the Perl script in the Embedded Perl
environment, something happens (which is not logged) which causes the script
to not execute as desired.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>Can anyone point
me in the direction of a logging directive to enable so that I can see any
Perl errors that may be generated in the process?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006><STRONG>Current
nagios.cfg logging settings:</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006>log_archive_path=/var/log/nagios/archives<BR>log_event_handlers=1<BR>log_external_commands=1<BR>log_file=/var/log/nagios2/nagios.log<BR>log_host_retries=1<BR>log_initial_states=0<BR>log_notifications=1<BR>log_passive_checks=1<BR>log_rotation_method=d<BR>log_service_retries=1<BR>use_syslog=1<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006><STRONG>Abbbreviated contents of
/var/log/nagios2/nagios.log:</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>[1148388211]
SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification
Test;CRITICAL;notify-by-jabber;No process matching ping found :
CRITICAL<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>I appreciate any
insight into this problem would be appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006>Sincerely,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=207143512-23052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>Norman H.
Harebottle III</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>Software
Engineer</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=207143512-23052006>Vikus
Corporation</DIV></BLOCKQUOTE></SPAN></FONT></BODY></HTML>