ndoutils issue

Rusty Hall rhall at HealthVision.com
Wed May 2 17:22:57 CEST 2007


I recently installed Nagios 3.0a3 with mysql and NDOUtils 1.4b3 on
REDHAT 4.  Nagios is up and  running as expected, but i keep running
into this issue
 
[1178115841] ndomod: Could not open data sink!  I'll keep trying, but
some output may get lost...

I have double checked everythng I can think of  as well as everything I
could GOOGLE about this issue.
 
I know the account is setup for mysql becasue i can query thru command
line and check_mysql_query thru nagios 
 
output from /usr/local/var/nagis.log
 
[1178115841] Nagios 3.0a3 starting... (PID=25257)
[1178115841] LOG VERSION: 2.0
[1178115841] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007
Ethan Galstad (nagios at nagios.org <mailto:nagios at nagios.org> )
[1178115841] ndomod: Could not open data sink!  I'll keep trying, but
some output may get lost...
[1178115841] Event broker module '/usr/local/nagios/bin/ndomod-3x.o'
initialized successfully.
[1178115841] Finished daemonizing... (New PID=25258)
[1178116753] ndomod: Still unable to connect to data sink.  0 items
lost, 4757 queued items to flush.
[1178117665] ndomod: Still unable to connect to data sink.  4291 items
lost, 5000 queued items to flush.
 
 
ndo2db.cfg
 
# USER/GROUP PRIVILIGES
ndo2db_user=nagios
ndo2db_group=nagios
 
# SOCKET TYPE
#   unix = Unix domain socket (default)
#   tcp  = TCP socket
socket_type=unix
#socket_type=tcp

 
                        this file is created and owned  by nagios
 
# SOCKET NAME
socket_name=/usr/local/nagios/var/ndo.sock
 
# DATABASE SERVER TYPE
#       mysql = MySQL
#       pgsql = PostgreSQL
db_servertype=mysql
 
# DATABASE HOST
# This option specifies what host the DB server is running on.
db_host=localhost
 
# DATABASE PORT
#       3306 = Default MySQL port
#       5432 = Default PostgreSQL port
db_port=3306
 
# DATABASE NAME
# This option specifies the name of the database that should be used.
db_name=nagios
 
# DATABASE USERNAME/PASSWORD
db_user=nagios
db_pass=*********   (the correct password is in the config file)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070502/a00f2439/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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