ndomod: Error writing to data sink! Some output may get lost.
Witchaphon S.
witchaphon.sa at ntt.co.th
Mon Mar 22 06:59:08 CET 2010
Dear Sirs,
I have problem with NDOUtils that got below error after restart Nagios service
"ndomod: Error writing to data sink! Some output may get lost."
###################
##Background Information###
###################
I installed
OS : FreeBSD 8.0
App : nagios-3.2.0_1 (by Port)
ndoutils-1.4b9 (by source)
mysql-server-5.0.89 (by Port)
###########
##ndo2db.cfg##
###########
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/var/spool/nagios/ndo.sock
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=xxxx
db_pass=xxxx
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
debug_level=-1
debug_verbosity=2
debug_file=/var/spool/nagios/ndo2db.debug
max_debug_file_size=1000000
###########
##ndomod.cfg##
###########
instance_name=default
output_type=unixsocket
output=/var/spool/nagios/ndo.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/var/spool/nagios/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=2
###########
##nagios.cfg###
###########
Compiled Nagios with support for the event broker
event_broker_options=-1
broker_module=/usr/local/bin/ndomod.o config_file=/usr/local/etc/nagios/ndomod.cfg
############
##Permissions##
############
#ls -alh /usr/local/bin | grep ndo
-r-xr-xr-x 1 root wheel 99K Feb 12 15:13 ndo2db
-r-xr-xr-x 1 root wheel 99K Feb 12 15:13 ndo2db-3x
-r-xr-xr-x 1 root wheel 63K Feb 12 15:13 ndomod-3x.o
-r-xr-xr-x 1 root wheel 63K Feb 12 15:13 ndomod.o
#############
##Start ndo2db##
#############
#/usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg
# ps -aux | grep ndo2db
nagios 26488 0.0 0.1 3940 1596 ?? Ss 11:49AM 0:00.03 /usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg
root 26988 0.0 0.1 3492 1076 0 S+ 12:06PM 0:00.00 grep ndo2db
#################
##After restart Nagios##
#################
# /usr/local/etc/rc.d/nagios restart&& tail -f /var/spool/nagios/nagios.log
Performing sanity check of nagios configuration: OK
nagios not running? (check /var/spool/nagios/nagios.lock).
Performing sanity check of nagios configuration: OK
Starting nagios.
[1269234211] LOG VERSION: 2.0
[1269234211] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1269234211] ndomod: Successfully connected to data sink. 177 queued items to flush.
[1269234214] Nagios 3.2.0 starting... (PID=26958)
[1269234214] Local time is Mon Mar 22 12:03:34 ICT 2010
[1269234214] LOG VERSION: 2.0
[1269234214] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1269234214] ndomod: Successfully connected to data sink. 0 queued items to flush.
[1269234214] Event broker module '/usr/local/bin/ndomod.o' initialized successfully.
[1269234214] Finished daemonizing... (New PID=26960)
[1269234214] ndomod: Error writing to data sink! Some output may get lost...
[1269234214] ndomod: Please check remote ndo2db log, database connection or SSL Parameters
Any more configuration else??
Thks your for you big help.
Regards,
Witchaphon S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100322/52de29a3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list