NDOutils installation
Jimmy
jimjunk at syska-inc.com
Wed May 9 16:15:07 CEST 2007
I am trying to setup NDOutils but I get these errors when starting Nagios
[1178718006] Nagios 2.9 starting... (PID=6839)
[1178718006] LOG VERSION: 2.0
[1178718006] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007
Ethan Galstad (nagios at nagios.org)
[1178718006] ndomod: Could not open data sink! I'll keep trying, but
some output may get lost...
[1178718006] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.
[1178718006] Finished daemonizing... (New PID=6840)
[1178718022] ndomod: Still unable to connect to data sink. 0 items
lost, 248 queued items to flush.
Currently I am running with nagios2.9 plugins1.4.8 ndoutils1.4b3
nrpe2.8b1 but is there a specific setup that you guys knows works or is
there an easy fix to these errors?
I am using the default ndo2db.cfg and the sql I ran to setup my database
is as follows
create database nagios;
use nagios;
source db/mysql.sql;
GRANT SELECT,INSERT,UPDATE,DELETE on nagios.* to 'ndouser'@'localhost' IDENTIFIED BY 'ndopassword';
and i can connect to the database using that username and password as
you can see:
nagios nagios # mysql -u ndouser -pndopassword nagios
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 5.0.26-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show tables;
+-------------------------------------+
| Tables_in_nagios |
+-------------------------------------+
| nagios_acknowledgements |
is there a debug mode or something in ndo2db.cfg that i am skipping
over? or maybe ndomod.cfg?
-------------------------------------------------------------------------
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/
_______________________________________________
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