ndomod: Could not open data sink

Michael Friedrich michael.friedrich at univie.ac.at
Tue Feb 16 19:22:56 CET 2010


nigel.leach at uk.bnpparibas.com wrote:
>
> Nagios Core 3.2.0
> NDO2DB 1.4b9
> MySQL 5.0.17
> Redhat AS4 U6
>
> I have the dreaded "ndomod: Could not open data sink!" problem. Nagios 
> itself is running happily, and I am trying to integrate Nagvis.
>
> These are my Nagios processes, and socket file
>
> nagios   29946     1  0 10:50 ?        00:00:00 
> /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
> nagios   29990     1  0 10:50 ?        00:00:08 
> /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
>
> srwxrwx---  1 nagios nagios 0 Feb 16 12:36 /usr/local/nagios/var/ndo.sock
>
> No Nagios data is going through to the mysql Nagios tables though. 
> They are all created, but none have been populated. I've gone through 
> all the numerous other posts on this topic, but nothing has worked.
>
> I can write to my mysql d/b using the db_user/db_pass in ndo2db.cfg.
>
> This is from my Nagios log (coincidently, I can never get anything 
> written to the ndo2db.debug file).
>
> [1266317457] ndomod: Could not open data sink!  I'll keep trying, but 
> some output may get lost...
> [1266317457] Event broker module '/usr/local/nagios/bin/ndomod.o' 
> initialized successfully.
> [1266321105] ndomod: Still unable to connect to data sink.  32292 
> items lost, 5000 queued items to flush.
debug level in ndo2db.cfg to highest, what says ndo2db.debug?
>
> The ndo2db.cfg and nagios.cfg are below.
and ndomod.cfg?

Regards,
Michael
>
> Any help much appreciated.
>
> Regards
> Nigel 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100216/e3270f5d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-------------- 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