Followup: ndoutils not logging to MySQL

Sjaak Nabuurs sjaak at vsm-hosting.nl
Tue Feb 13 15:22:41 CET 2007



It sounds like permission problems.
I got the same problem a week ago chown/chgrp ndo2db and ndomod to 
nagios user/group, same as the big bos "nagios"
And bang all the data walked into mysql like a charm.

Good luck


Marek Narkiewicz wrote:

>As an additional point, I get the same message when i attempt to use
>tcp socket connections too. Is there some way I can debug the ndomod
>broker in more detail to see exactly where it is failing?
>
>On 2/13/07, Marek Narkiewicz <maznaz at gmail.com> wrote:
>  
>
>>Hi there. Following on form my email yesterday, I discovered that
>>while the socket /var/nagios/ndo.sock existed (AS specified in
>>ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed
>>the socket and restarted the process and then was able to import the
>>archived nagios log files to MySQL using log2ndo and specifying the
>>socket in the commandline. (this only imported entries into tables:
>>nagios_conninfo, nagios_instances and   nagios_logentries)
>>
>>nagios.log however maintains that it cannot connect to the daemon:
>>
>> [1171362753] ndomod: Still unable to connect to data sink.  1463360
>>items lost, 5000 queued items to flush.
>>
>>repeated over and over again with the items lost part incremented.
>>
>>netstat -p does not list ndo2db even though I can seemingly access it
>>with log2ndo.
>>
>>Any suggestions gratefuly received.
>>
>>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