<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>James,</DIV>
<DIV> </DIV>
<DIV>The instance name refers to the Nagios instance id and 'Central' is the default created by Centreon.</DIV>
<DIV>Port 5668 is the default port that the NDO broker module will send data to. The corresponding NDO receiver port is defined in the ndo2db.cfg file and these 2 need to match up.</DIV>
<DIV> </DIV>
<DIV>2 things to look at, when you compiled NDO the modules generated were ndomod-2x.o and ndomod-3x.o, your config is referring to ndomod.o, did you rename the compiled module to match ?</DIV>
<DIV> </DIV>
<DIV>Ndo2db does not automatically start, you need to start it and create an init script to start the daemon during boot up.</DIV>
<DIV> </DIV>
<DIV>HTH,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT size=1><FONT face=Verdana><STRONG><FONT color=#da130e>Simon Finch </FONT><FONT color=#808080>|</FONT></STRONG><FONT color=#808080> <STRONG>ES</STRONG></FONT><FONT color=#808080><STRONG>M Specialist</STRONG></FONT></FONT></FONT><BR><FONT color=#da130e size=1 face=Arial><FONT color=#808080><IMG alt="" src="cid:YLEWESIQEPLW.IMAGE.xxx" width=87 height=33></FONT></FONT></DIV>
<DIV><FONT color=#da130e size=1 face=Arial><FONT color=#808080>Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217</FONT></FONT></DIV>
<DIV><FONT color=#da130e size=1 face=Arial><FONT color=#808080><FONT face=Wingdings>(</FONT><FONT color=#808080 size=1 face=Arial>+61 2 9952 2574 </FONT><FONT color=#808080 size=1 face="Wingdings 2">7</FONT><FONT color=#808080 size=1> </FONT><FONT color=#808080 size=1 face=Arial>+61 412 256 814</FONT></FONT></FONT></DIV>
<DIV><FONT color=#da130e size=1 face=Arial><FONT color=#808080>Email: <A href="mailto:finchs@stgeorge.com.au">finchs@stgeorge.com.au</A><BR><A href="http://www.stgeorge.com.au/"><B><U><FONT color=#808080 size=1 face=Arial>www.stgeorge.com.au</FONT></U></B></A><BR>______________________________________</FONT><BR><EM>St.George Bank IT - Good with people. Good with monitoring.</EM></FONT></DIV>
<DIV><BR></DIV></DIV>
<DIV><BR>>>> James Pifer <jep@obrien-pifer.com> 03/06/2009 10:15 am >>><BR>Wondering if anyone here can help me with this. I'm trying to get nagios<BR>data written to ndo2db for centreon. Unfortunately the folks on the<BR>centreon forum have not been very helpful. If anyone here could help I'd<BR>appreciate it. <BR><BR>My software versions are:<BR>sles10sp2 x64<BR>nagios-plugins-1.4.5-16.13<BR>nagios-2.6-13.16<BR>nagios-plugins-extras-1.4.5-16.13<BR>nagios-www-2.6-13.16<BR>ndoutils-1.4b7<BR><BR>I have these lines in my nagios.cfg file:<BR>broker_module=/usr/local/nagios/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg<BR>event_broker_options=-1<BR><BR>My /etc/nagios/ndomod.cfg is:<BR>instance_name=Central<BR>output_type=tcpsocket<BR>output=127.0.0.1<BR>tcp_port=5668<BR>output_buffer_items=5000<BR>file_rotation_interval=14400<BR>file_rotation_timeout=60<BR>reconnect_interval=15<BR>reconnect_warning_interval=900<BR>data_processing_options=-1<BR>config_output_options=3<BR><BR>Really not sure if that stuff is correct or not. I'm not sure where the<BR>instance_name comes from or if the tcp_port is correct. My ndo database<BR>is in mysql and called ndo and I can login using the mysql client with<BR>the login that's specified in /usr/local/nagios/etc/ndo2db.cfg.<BR><BR><BR>I get this over and over in my nagios log file:<BR>[1243973491] ndomod: Still unable to connect to data sink. 6605297 items lost, 5000 queued items to flush.<BR>[1243974404] ndomod: Still unable to connect to data sink. 6608938 items lost, 5000 queued items to flush.<BR>[1243975317] ndomod: Still unable to connect to data sink. 6612568 items lost, 5000 queued items to flush.<BR>[1243976229] ndomod: Still unable to connect to data sink. 6616195 items lost, 5000 queued items to flush.<BR>[1243976463] Auto-save of retention data completed successfully.<BR>[1243977141] ndomod: Still unable to connect to data sink. 6619829 items lost, 5000 queued items to flush.<BR>[1243978053] ndomod: Still unable to connect to data sink. 6623477 items lost, 5000 queued items to flush.<BR>[1243978965] ndomod: Still unable to connect to data sink. 6627104 items lost, 5000 queued items to flush.<BR>[1243979877] ndomod: Still unable to connect to data sink. 6630729 items lost, 5000 queued items to flush.<BR>[1243980063] Auto-save of retention data completed successfully.<BR>[1243980789] ndomod: Still unable to connect to data sink. 6634361 items lost, 5000 queued items to flush.<BR>[1243981701] ndomod: Still unable to connect to data sink. 6637988 items lost, 5000 queued items to flush.<BR>[1243982613] ndomod: Still unable to connect to data sink. 6641613 items lost, 5000 queued items to flush.<BR>[1243983525] ndomod: Still unable to connect to data sink. 6645243 items lost, 5000 queued items to flush.<BR>[1243983663] Auto-save of retention data completed successfully.<BR><BR>I'm not sure where else to look for the problem. If anyone has any ideas<BR>or debugging suggestions I'd really appreciate it. <BR><BR>Thanks,<BR>James<BR><BR><BR>------------------------------------------------------------------------------<BR>OpenSolaris 2009.06 is a cutting edge operating system for enterprises <BR>looking to deploy the next generation of Solaris that includes the latest <BR>innovations from Sun and the OpenSource community. Download a copy and <BR>enjoy capabilities such as Networking, Storage and Virtualization. <BR>Go to: <A href="http://p.sf.net/sfu/opensolaris">http://p.sf.net/sfu/opensolaris</A>-get<BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios">https://lists.sourceforge.net/lists/listinfo/nagios</A>-users<BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null<BR><BR><BR>*** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking this link <A href="https://www.mailcontrol.com/sr/6ov0Ez2Xb2jTndxI!oX7UidyY9wa1yn6sEecMPqOl07mkXxbs3cRt6lJ8LIwaR+er0s3dE0!F2mENNTgBxFzrw==">https://www.mailcontrol.com/sr/6ov0Ez2Xb2jTndxI!oX7UidyY9wa1yn6sEecMPqOl07mkXxbs3cRt6lJ8LIwaR+er0s3dE0!F2mENNTgBxFzrw==</A> . ***<BR></DIV></BODY></HTML>