ndomod: Could not open data

Mike Koponick mike at redhawk.info
Thu Jan 19 19:57:57 CET 2006


Hello,



I seem to be having a bit of trouble with NDOMOD. 



I compiled Nagios version 2.0rc2 with the --enable-event-broker
 option.



I added the following into my nagios.cfg file:



event_broker_options=-1



broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/n
agios/etc/ndomod.cfg



I have the ndo2db process running and piping to a unix socket (of
 the same one listed in my ndomod.cfg file).



My ndomid.cfg file contains the following:



instance_name=sensor1

output_type=unixsocket

output=/usr/local/nagios/var/ndo-mysql.sock

tcp_port=5668

output_buffer_items=5000

file_rotation_interval=14400

file_rotation_timeout=60

reconnect_interval=15

reconnect_warning_interval=15

data_processing_options=-1

config_output_options=1



>From Syslog during startup:



Jan 19 09:45:31 sensor1 nagios: Nagios 2.0rc2 starting... (PID=29561)

Jan 19 09:45:31 sensor1 nagios: LOG VERSION: 2.0

Jan 19 09:45:31 sensor1 nagios: ndomod: NDOMOD 1.2 Copyright (c)
 2005-2006 Ethan Galstad (nagios at nagios.org)

Jan 19 09:45:31 sensor1 nagios: ndomod: Could not open data sink!
  I'll keep trying, but some output may get lost...

Jan 19 09:45:31 sensor1 nagios: Event broker module '/usr/local/nagios/bi
n/ndomod.o' initialized successfully.

Jan 19 09:45:31 sensor1 nagios: Finished daemonizing... (New PID=29562)





I see the "nagios: ndomod: Could not open data sink!  I'll keep
 trying, but some output may get lost..." messages multiple times,
 and never goes away.



Also, I don't see any data in the MySQL tables, but I think that's
 the next issue after resolving this one.



Thanks in advance,



Mike





-----------------------

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-devel.33.0.html

				


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642




More information about the Developers mailing list