<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/3.18.3">
</head>
<body>
<br>
hello<br>
I am using the latest 3.0.3 nagios and 1.4.12 nagios-plugins.<br>
I've set up 2 nagios servers running in failover monitoring mode as described in <a href="http://nagios.sourceforge.net/docs/3_0/redundancy.html">
http://nagios.sourceforge.net/docs/3_0/redundancy.html</a><br>
Everything works ok except the script : /usr/local/nagios/libexec/eventhandlers/enable_active_service_checks<br>
It generates the command:<br>
[1221039159] START_EXECUTING_SERVICE_CHECKS<br>
and it is piped to /usr/local/nagios/var/rw/nagios.cmd , but nagios does not start executing service checks.<br>
<br>
Nagios is started with: execute_service_checks=0 as mentioned in the above documentation page.<br>
<br>
The script enable_notifications works, and nagios is started with: enable_notifications=0<br>
<br>
P.S<br>
<br>
there is also a small bug in contrib/eventhandlers/enable_notifications<br>
The last line should be:<br>
`$printfcmd "[%i] ENABLE_NOTIFICATIONS;%i\n" $datetime $datetime >> $CommandFile`<br>
instead of:<br>
`printfcmd "[%i] ENABLE_NOTIFICATIONS;%i\n" $datetime $datetime >> $CommandFile`<br>
<br>
It is missing the $ sign at the beggining.<br>
<br>
The other scripts: disable_notifications, disable_active_service_checks, enable_active_service_checks don't have this bug.<br>
<br>
<br>
<font face="Arial" color="Black" size="1">*****DISCLAIMER*****<br>
<br>
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you
 are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Orange Romania S.A. is neither liable for the proper, complete transmission of the information
 contained in this communication nor any delay in its receipt.<br>
<br>
*****END OF DISCLAIMER*****<br>
</font>
</body>
</html>