James,
 
The instance name refers to the Nagios instance id and 'Central' is the default created by Centreon.
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.
 
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 ?
 
Ndo2db does not automatically start, you need to start it and create an init script to start the daemon during boot up.
 
HTH,
 
 
 
Simon Finch | ESM Specialist
Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217
(+61 2 9952 2574 7 +61 412 256 814
Email: [email protected]
www.stgeorge.com.au
______________________________________

St.George Bank IT - Good with people. Good with monitoring.


>>> James Pifer <[email protected]> 03/06/2009 10:15 am >>>
Wondering if anyone here can help me with this. I'm trying to get nagios
data written to ndo2db for centreon. Unfortunately the folks on the
centreon forum have not been very helpful. If anyone here could help I'd
appreciate it.

My software versions are:
sles10sp2 x64
nagios-plugins-1.4.5-16.13
nagios-2.6-13.16
nagios-plugins-extras-1.4.5-16.13
nagios-www-2.6-13.16
ndoutils-1.4b7

I have these lines in my nagios.cfg file:
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg
event_broker_options=-1

My /etc/nagios/ndomod.cfg is:
instance_name=Central
output_type=tcpsocket
output=127.0.0.1
tcp_port=5668
output_buffer_items=5000
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=900
data_processing_options=-1
config_output_options=3

Really not sure if that stuff is correct or not. I'm not sure where the
instance_name comes from or if the tcp_port is correct. My ndo database
is in mysql and called ndo and I can login using the mysql client with
the login that's specified in /usr/local/nagios/etc/ndo2db.cfg.


I get this over and over in my nagios log file:
[1243973491] ndomod: Still unable to connect to data sink.  6605297 items lost, 5000 queued items to flush.
[1243974404] ndomod: Still unable to connect to data sink.  6608938 items lost, 5000 queued items to flush.
[1243975317] ndomod: Still unable to connect to data sink.  6612568 items lost, 5000 queued items to flush.
[1243976229] ndomod: Still unable to connect to data sink.  6616195 items lost, 5000 queued items to flush.
[1243976463] Auto-save of retention data completed successfully.
[1243977141] ndomod: Still unable to connect to data sink.  6619829 items lost, 5000 queued items to flush.
[1243978053] ndomod: Still unable to connect to data sink.  6623477 items lost, 5000 queued items to flush.
[1243978965] ndomod: Still unable to connect to data sink.  6627104 items lost, 5000 queued items to flush.
[1243979877] ndomod: Still unable to connect to data sink.  6630729 items lost, 5000 queued items to flush.
[1243980063] Auto-save of retention data completed successfully.
[1243980789] ndomod: Still unable to connect to data sink.  6634361 items lost, 5000 queued items to flush.
[1243981701] ndomod: Still unable to connect to data sink.  6637988 items lost, 5000 queued items to flush.
[1243982613] ndomod: Still unable to connect to data sink.  6641613 items lost, 5000 queued items to flush.
[1243983525] ndomod: Still unable to connect to data sink.  6645243 items lost, 5000 queued items to flush.
[1243983663] Auto-save of retention data completed successfully.

I'm not sure where else to look for the problem. If anyone has any ideas
or debugging suggestions I'd really appreciate it.

Thanks,
James


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


*** 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 https://www.mailcontrol.com/sr/6ov0Ez2Xb2jTndxI!oX7UidyY9wa1yn6sEecMPqOl07mkXxbs3cRt6lJ8LIwaR+er0s3dE0!F2mENNTgBxFzrw== . ***

Attachment: binVhvZU087CD.bin
Description: applicaton/octect-stream

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to