ndo2db not logging to MySQL

Marek Narkiewicz maznaz at gmail.com
Mon Feb 12 11:59:33 CET 2007


Hello there. I have a working nagios installation on a centos box with
cpanel installed on it. I used the rpmforge nagios RPMs and compiled
ndoutils from source. I have installed the program as detailed in the
readme and the mysql user is set up correctly (verified by using the
details to import the schema bundled with ndoutils). Nagios has loaded
the broker module as it appears in lsof and event_broker_options is
set to -1. Nothing however, is making it as far as the database.

In an attempt to debug this I ran strace src/log2ndo using an old
archive log file and strace indicates that log2ndo is exiting after
receiving a connection error on tying to open the socket file.

connect(4, {sa_family=AF_FILE, path="/var/nagios/ndo.sock"}, 22) = -1
ECONNREFUSED (Connection refused)

ls -l /var/nagios/ndo.sock shows the file to exist and to be of the
correct type and ownership.

Does anyone have any suggestions as to what may be the problem? If any
more information would help a diagnosis please ask. Thanks in advance,
Marek

-------------------------------------------------------------------------
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
_______________________________________________
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