NDOUtils Problem

Max perldork at webwizarddesign.com
Fri Apr 4 04:08:12 CEST 2008


On Thu, Apr 3, 2008 at 4:46 PM, Marcel <webknowledge at gmail.com> wrote:
> So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod
> for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it
> works fine. Hold your migration, for a new release of the mod.

A number of people are working with this and Nagios 3.x, including myself :).

> items lost, 289 queued items to flush.
> > [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may
> get lost. 194 queued items to flush.
> > [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0
> items lost, 505 queued items to flush.
> > [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may
> get lost. 424 queued items to flush.
> > [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0
> items lost, 588 queued items to flush.
> > [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may
> get lost. 499 queued items to flush.
> > [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0
> items lost, 676 queued items to flush.
> > [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may
> get lost...
> > [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596)
> > [04-03-2008 13:31:27] Event broker module
> '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.
> > [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0
> queued items to flush.
> > [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c)
> 2005-2007 Ethan Galstad (nagios at nagios.org)
> > [04-03-2008 13:31:27] LOG VERSION: 2.0
> > [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008
> > [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594)
> >
> > I've found a few threads on the internet with similar errors but not found
> a resolution.  I'm at a loss how to proceed with troubleshooting.

>From my experience and the other posts I have seen on this the problem
is due to some problems in the NDO Utils code that escapes SQL
statements and some INSERT SQL issues related to primary key
violations on tables .. every time I start NDO up in Nagios I see a
number of lines like yours; however, NagVis still works fine and the
other information I need from that database seems to be intact.

- Max

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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