<br><font size=2 face="sans-serif">Hello all,</font>
<br>
<br><font size=2 face="sans-serif">I've got some Problem with Failover
Monitoring explicit the ocsp command.</font>
<br>
<br><font size=2 face="sans-serif">This is what I have:</font>
<br>
<br><font size=2 face="sans-serif">Master Server: Nagios 1.0 with active
notifications / active service checks / active state retention</font>
<br><font size=2 face="sans-serif">Slave Server: Nagios 1.1 disabled notification
/ service_checks / state retention = 0</font>
<br>
<br><font size=2 face="sans-serif">and following config on the Master:</font>
<br><font size=2 face="sans-serif">## nagios.cfg</font>
<br>
<br><font size=2 face="sans-serif">obsess_over_services=1</font>
<br><font size=2 face="sans-serif">ocsp_command=submit_check_result</font>
<br>
<br><font size=2 face="sans-serif">## misccommands.cfg</font>
<br><font size=2 face="sans-serif"># 'submit_check_result' command definition
to send Service Status to Slave Nagios</font>
<br><font size=2 face="sans-serif">define command{</font>
<br><font size=2 face="sans-serif"> command_name
submit_check_result</font>
<br><font size=2 face="sans-serif"> command_line
/usr/local/nagios/libexec/eventhandlers/submit_check_result
$HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif">## services.cfg</font>
<br>
<br><font size=2 face="sans-serif">define service{</font>
<br><font size=2 face="sans-serif"> host_name
some_host</font>
<br><font size=2 face="sans-serif"> service_description
some_service</font>
<br><font size=2 face="sans-serif"> is_volatile
0</font>
<br><font size=2 face="sans-serif"> check_period
24x7</font>
<br><font size=2 face="sans-serif"> check_command
check_webserver_ext........</font>
<br><font size=2 face="sans-serif"> max_check_attempts
4</font>
<br><font size=2 face="sans-serif"> notification_interval
3600</font>
<br><font size=2 face="sans-serif"> notification_period
24x7</font>
<br><font size=2 face="sans-serif">--->>> obsess_over_service
1</font>
<br><font size=2 face="sans-serif"> notifications_enabled
1</font>
<br><font size=2 face="sans-serif"> notification_options
r,c</font>
<br><font size=2 face="sans-serif"> normal_check_interval
300</font>
<br><font size=2 face="sans-serif"> retry_check_interval
15</font>
<br><font size=2 face="sans-serif"> contact_groups
notrelevant</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br><font size=2 face="sans-serif">If I run the '/usr/local/nagios/libexec/eventhandlers/submit_check_result'
manually as the same user as nagios the Service Check Results were transmitted
to the Slave through nsca_send and all that stuff. It works fine. But in
"normal" live the submit_check_result won't be executed with
no error in the logfiles.</font>
<br>
<br><font size=2 face="sans-serif">For controlling myself I configured
some services with </font>
<br><font size=2 face="sans-serif">....</font>
<br><font size=2 face="sans-serif">....</font>
<br><font size=2 face="sans-serif">....</font>
<br><font size=2 face="sans-serif">event_handler
submit_check_result</font>
<br><font size=2 face="sans-serif">event_handler_enabled
1</font>
<br><font size=2 face="sans-serif">....</font>
<br><font size=2 face="sans-serif">....</font>
<br>
<br><font size=2 face="sans-serif">and it works. After Service State changes
(!!!) the Slave show me that there are Problems, Warnings, Criticals and
so on, all other services are on state "pending".</font>
<br>
<br><font size=2 face="sans-serif">If I am right, it should be able with
the ocsp command to transmit all (!!!) the service results to my slave
or is it wrong?</font>
<br>
<br><font size=2 face="sans-serif">Please help.</font>
<br>
<br><font size=2 face="sans-serif">Best regards<br>
</font>
<br><font size=3>Hendrik Bäcker</font>