ndomod: Error writing to data sink! Some output may get lost...
Danny Russell
drussell at mpifix.com
Thu Jul 6 21:14:52 CEST 2006
Hello Everyone,
I am seeking some help regarding ndoutils and nagios. Here
is what I am running:
* CentOS 4.2
* nagios-2.4-1.el4
* ndoutils-1.3.1
* mysql-5.0.22-1.centos.1
* php-5.0.4-5.centos4
* nagios-plugins-1.4.2-1.2.el4.rf
The NEB module is loading and connecting to the data sink. The problem
is that it cannot write any data to the data sink. Is the data sink the
ndo.sock file?
I run the ndo2db daemon and it starts just fine:
ndo2db -c /etc/nagios/bin/ndo2db.cfg
I've tried chmoding the sock file to 777, changed the ownership to
nagios:nagios, and running it as root. If I run the ndo2db as nagios it
gets a permission denied to the sock file? Should I run this under the
nagios user?
Here is an excerpt from my nagios.log file:
[1152209793] Nagios 2.4 starting... (PID=31876)
[1152209793] LOG VERSION: 2.0
[1152209793] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad
(nagios at nagios.org)
[1152209794] ndomod: Successfully connected to data sink. 0 queued
items to flush.
[1152209794] Event broker module '/etc/nagios/bin/ndomod.o' initialized
successfully.
[1152209794] Finished daemonizing... (New PID=31878)
[1152209794] ndomod: Error writing to data sink! Some output may get
lost...
[1152209810] ndomod: Successfully reconnected to data sink! 0 items
lost, 69 queued items to flush.
[1152209810] ndomod: Successfully flushed 69 queued items to data sink.
[1152209811] ndomod: Error writing to data sink! Some output may get
lost...
[1152209827] ndomod: Successfully reconnected to data sink! 0 items
lost, 72 queued items to flush.
[1152209827] ndomod: Successfully flushed 72 queued items to data sink.
[1152209828] ndomod: Error writing to data sink! Some output may get
lost...
[1152209844] ndomod: Successfully reconnected to data sink! 0 items
lost, 69 queued items to flush.
[1152209844] ndomod: Successfully flushed 69 queued items to data sink.
[1152209845] ndomod: Error writing to data sink! Some output may get
lost...
[1152209861] ndomod: Successfully reconnected to data sink! 0 items
lost, 75 queued items to flush.
[1152209861] ndomod: Successfully flushed 75 queued items to data sink.
[1152209862] ndomod: Error writing to data sink! Some output may get
lost...
Thanks for your help.
Danny Russell
Mobile Productivity, Inc.
Enabling the World To Work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060706/383f9f8c/attachment.html>
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- 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