James Pifer
2009-06-03 00:15:19 UTC
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
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