<!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/1.1.1.1">
</HEAD>
<BODY>
None one knows anything about this?<BR>
<BR>
On Fri, 2002-08-16 at 14:45, Roberto Moral wrote:</FONT>
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#3a17ff" SIZE="3"><I>Hello there,<BR>
<BR>
I am trying to set up a basic fail over procedure following the steps outlined in the Documentation and using the scripts provided in the distribution ( Nagios 1.0b5). <BR>
<BR>
Monitoring the master hosts and the Nagios process in the master log works, and I see the event handler being called (handle-master-proc-event, handle-master-host-event). However fail over doesn't happen, after debugging the scripts (handle-master-proc-event, handle-master-host-event) I found out that the event doesn't pass the state of the master server to the script, this is easy to find out by putting a echo $1 $2 before the case statement and sending that to a file, after Nagios detecting the problem and issuing the handler event the file gets created but it is empty (no arguments are passed by event handler).<BR>
<BR>
If I run the scripts manually passing the right parameters and it worked without a problem.<BR>
<BR>
Any ideas on how to fix this behavior?<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B>Roberto Moral</B></FONT><BR>
<FONT COLOR="#3a17ff" SIZE="2">SR. UNIX Systems Administrator</FONT><BR>
<FONT COLOR="#3a17ff" SIZE="3">-------------------------------------</FONT><BR>
<A HREF="mailto:roberto@quantiva.com">roberto@quantiva.com</FONT></A><BR>
<FONT COLOR="#3a17ff" SIZE="2">Tel: 609-514-8513 | cell: 609-346-5601<BR>
<B>Quantiva, inc.</B><BR>
100 Village Blvd. 3rd Floor <BR>
Princeton, NJ 08540 </I></FONT>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT SIZE="3"><B>Roberto Moral</B></FONT><BR>
<FONT SIZE="2"><I>SR. UNIX Systems Administrator</I></FONT><BR>
-------------------------------------<BR>
<A HREF="mailto:roberto@quantiva.com">roberto@quantiva.com</FONT></A><BR>
<FONT SIZE="2">Tel: 609-514-8513 | cell: 609-346-5601<BR>
<B>Quantiva, inc.</B><BR>
100 Village Blvd. 3rd Floor <BR>
Princeton, NJ 08540 </FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>