Re: [Nagios-users] Followup: ndoutils not logging to MySQL
Thank you Sjaak and Natalia for the suggestions. I have implemented all of those except downgrading to the previous ndoutils package (I will try that later this evening) and still get the following output in my nagios.log on startup: [1171382416] Nagios 2.7 starting... (PID=14030) [1171382416] LOG VERSION: 2.0 [1171382416] ndomod: NDOMOD 1.4b2 (01-19-2007) Copyright (c) 2005-2007 Ethan Galstad ([EMAIL PROTECTED]) [1171382416] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' initialized successfully. [1171382416] Finished daemonizing... (New PID=14031) This is the same whether I use tcp socket or unix domain socket, and log2ndo works with the same settings I have in ndomod.cfg. All files in the installation are chown nagios.nagios and the database details in ndo2db.cfg clearly are correct since log2ndo works. Anyone with any more suggestions? Thanks again for those already given. 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@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
Re: [Nagios-users] Followup: ndoutils not logging to MySQL
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 <[EMAIL PROTECTED]> 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@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
Re: [Nagios-users] Followup: ndoutils not logging to MySQL
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 <[EMAIL PROTECTED]> 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@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
[Nagios-users] Followup: ndoutils not logging to MySQL
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@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