<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Problems getting NDO to work</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi All,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have just recompiled nagios 2.9 with event broker support as I wish to use ndo-utils but I get the following message when I try to start the event broker </FONT></P>

<P><FONT SIZE=2 FACE="Arial">#/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -i</FONT>

<BR><FONT SIZE=2 FACE="Arial">Support for the specified database server is either not yet supported, or was not found on your system.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is this because ndo does not support MySQL 5.0.54?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">OS and Software as follows</FONT>

<BR><FONT SIZE=2 FACE="Arial">SUSE Linux Enterprise Server 9. SP2</FONT>

<BR><FONT SIZE=2 FACE="Arial">Nagios 2.9</FONT>

<BR><FONT SIZE=2 FACE="Arial">NDO Utils 1.4b5</FONT>

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

<P><FONT SIZE=2 FACE="Arial">My Nagios configure scripts goes like this</FONT>

<BR><FONT SIZE=2 FACE="Arial">./configure --prefix=/usr/local/nagios --with-cgiurl=nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --enable-event-broker</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Nagios is installed and runs fine.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have ran through the ndo utils README and installed the module as described.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">EXCERPT FROM NAGIOS.CFG</FONT>

<BR><FONT SIZE=2 FACE="Arial"># EVENT BROKER MODULE(S)</FONT>

<BR><FONT SIZE=2 FACE="Arial">broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg</FONT>

<BR><FONT SIZE=2 FACE="Arial">event_broker_options=-1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">FROM NDOMOD.CFG</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># INSTANCE NAME</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># OUTPUT TYPE</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># OUTPUT</FONT>

<BR><FONT SIZE=2 FACE="Arial">output=/usr/local/nagios/var/ndo.sock</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># TCP PORT</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># OUTPUT BUFFER</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># BUFFER FILE</FONT>

<BR><FONT SIZE=2 FACE="Arial">buffer_file=/usr/local/nagios/var/ndomod.tmp</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># FILE ROTATION INTERVAL</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># FILE ROTATION COMMAND</FONT>

<BR><FONT SIZE=2 FACE="Arial">#file_rotation_command=rotate_ndo_log</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># FILE ROTATION TIMEOUT</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># RECONNECT INTERVAL</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># RECONNECT WARNING INTERVAL</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATA PROCESSING OPTION</FONT>

<BR><FONT SIZE=2 FACE="Arial">data_processing_options=-1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># CONFIG OUTPUT OPTION</FONT>

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

<P><FONT SIZE=2 FACE="Arial">FROM NDO2DB.CFG</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># USER/GROUP PRIVILIGES</FONT>

<BR><FONT SIZE=2 FACE="Arial">ndo2db_user=monitoring</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># SOCKET TYPE</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># SOCKET NAME</FONT>

<BR><FONT SIZE=2 FACE="Arial">socket_name=/usr/local/nagios/var/ndo.sock</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># TCP PORT</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE SERVER TYPE</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE HOST</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE PORT</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE NAME</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE TABLE PREFIX</FONT>

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

<P><FONT SIZE=2 FACE="Arial"># DATABASE USERNAME/PASSWORD</FONT>

<BR><FONT SIZE=2 FACE="Arial">db_user=user</FONT>

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

<P><FONT SIZE=2 FACE="Arial">All help/comments welcome</FONT>
</P>

</BODY>
</HTML>