<!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.2655.35">
<TITLE>Help: Distributed Server Configuration</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hello nagios users,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I need some help.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am trying to get a distributed server configured and working.  I have followed the instruction in the documentation completely. Everything is working with the exception of the submit_check_result.  If I submit results manually with submit_check_result script, the central Nagios server receives the results.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">The Nagios core is not executing the submit_check_result command for some reason.  Nagios on the distributed server is actively checking all services/hosts it should and loging the results to status.log and nagios.log. It just is not sending it so the central server.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Central server is running Nagios 1.0. I orginally started with Nagios 1.1 on the distributed server but went back to Nagios 1.0 thinking it was a possible version problem (I have not seen any such problem listed on the nagios-users list). </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Out put of my configuration.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># submit_check_result command definition</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">define command{</FONT>
<BR>        <FONT SIZE=2 FACE="Arial">command_name    submit_check_result</FONT>
<BR>        <FONT SIZE=2 FACE="Arial">command_line            /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' '$SERVICESTATE$' '$OUTPUT$'</FONT></P>

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

<P><FONT SIZE=2 FACE="Arial">#nagios.cfg</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">enable_notifications=0</FONT>
<BR><FONT SIZE=2 FACE="Arial">execute_service_checks=1</FONT>
<BR><FONT SIZE=2 FACE="Arial">obsess_over_services=1</FONT>
<BR><FONT SIZE=2 FACE="Arial">ocsp_command=submit_check_result</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">submit_check_result is owned by nagios:nagios with 777 permissions. I tried with 755 as well, no such luck.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I used the submit_check_result script from the documention.  Via command line it works.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Am I missing anything?  Is there anything else I should check.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks in advanced for your help,</FONT>
<BR><FONT SIZE=2 FACE="Arial">John</FONT>
</P>

</BODY>
</HTML>