Did you change everything? I mean, when using TCP socket, eu have to use IP
address, etc... Did you correct the ndo files?

Also,check the librarys as I told before. Generate the intallation files
from the source files and check if there is any missing lib. If yes, install
it and run the installation again.

Regards,

--
Ronaldo A. Bueno Filho


--------- Mensagem Original --------
De: Jorge Peña <[EMAIL PROTECTED]>
Para: Ronaldo A. Bueno Filho <[EMAIL PROTECTED]>,Morris, Patrick
<[EMAIL PROTECTED]>, [email protected]
<[email protected]>
Assunto: RE: [Nagios-users] ndo2db: Error: mysql_query() failed
Data: 22/09/08 23:21

> 
> 
> 
> 
> ..hmmessage P
> {
> margin:0px;
> padding:0px
> }
> body.hmmessage
> {
> FONT-SIZE: 10pt;
> FONT-FAMILY:Tahoma
> }
> 
> 
> 
> I stoped nagios
> I stoped NDO
> I edited /usr/local/nagios/etc/ndo2db.cfg and changed the socket to tp
> &nbsp;
> I started nagios
> I started NDO
> &nbsp;
> But now I have the message:
> &nbsp;
> &nbsp;
> &nbsp;
> &nbsp;nagios: ndomod: Still unable to connect to data sink.&nbsp; 0 items
lost, 586 queued items to flush.&gt; Date: Tue, 23 Sep 2008 00:32:16
-0300&gt; To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[email protected]&gt; From: [EMAIL PROTECTED]&gt;
Subject: Re: [Nagios-users] ndo2db: Error: mysql_query() failed&gt; &gt;
&gt; I think I sent an e-mail before showing my solution regarding my own
issue&gt; with NDOUtils.&gt; &gt; I noticed that when compiling and
generating the installation from the&gt; source files, it was missing some
libs. &gt; Try to generate the files and compile it again. Check if you see
any lib&gt; statements with "no". &gt; &gt; In my case, I did not have at
least 4 libs, including socket and TCP. I&gt; installed it and it
worked.&gt; &gt; If you are using socket connection, try to use TCP. Maybe
it works.&gt; &gt; Regards,&gt; &gt; --&gt; Ronaldo A. Bueno Filho&gt; &gt;
&gt; --------- Mensagem Original --------&gt; De: Jorge Peña
&lt;[EMAIL PROTECTED]&gt;&gt; Para: Morris, Patrick
&lt;[EMAIL PROTECTED]&gt;,&gt; [email protected]
&lt;[email protected]&gt;&gt; Assunto: Re: [Nagios-users]
ndo2db: Error: mysql_query() failed&gt; Data: 22/09/08 12:37&gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; ..hmmessage P&gt; &gt; {&gt; &gt;
margin:0px;&gt; &gt; padding:0px&gt; &gt; }&gt; &gt; body.hmmessage&gt; &gt;
{&gt; &gt; FONT-SIZE: 10pt;&gt; &gt; FONT-FAMILY:Tahoma&gt; &gt; }&gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; Hello there.I installed again the database
structure, it didn't work, I&gt; don't know from where comes the / just
before the .cfgFrom:&gt; [EMAIL PROTECTED]: [EMAIL PROTECTED];&gt;
[EMAIL PROTECTED]: Thu, 18 Sep 2008 16:25:51&gt;
+0000Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed&gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; ..ExternalClass p.EC_MsoNormal, .ExternalClass
li.EC_MsoNormal,&gt; .ExternalClass div.EC_MsoNormal&gt; &gt;
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New&gt;
Roman','serif';}&gt; &gt; ..ExternalClass p.EC_MsoSubtitle, .ExternalClass
li.EC_MsoSubtitle,&gt; .ExternalClass div.EC_MsoSubtitle&gt; &gt;&gt;
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}&gt;
&gt; ..ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink&gt; &gt;
{color:blue;text-decoration:underline;}&gt; &gt; ..ExternalClass a:visited,
.ExternalClass span.EC_MsoHyperlinkFollowed&gt; &gt;
{color:purple;text-decoration:underline;}&gt; &gt; ..ExternalClass p&gt;
&gt; {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times
New&gt; Roman','serif';}&gt; &gt; ..ExternalClass p.EC_MsoListParagraph,
.ExternalClass&gt; li.EC_MsoListParagraph, .ExternalClass
div.EC_MsoListParagraph&gt; &gt;&gt;
{margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times&gt;
New Roman','serif';}&gt; &gt; ..ExternalClass span.EC_EmailStyle18&gt; &gt;
{font-family:'Calibri','sans-serif';color:#1F497D;}&gt; &gt; ..ExternalClass
span.EC_SubtitleChar&gt; &gt;&gt;
{font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}&gt;
&gt; ..ExternalClass .EC_MsoChpDefault&gt; &gt; {font-size:10.0pt;}&gt; &gt;
@page Section1&gt; &gt; {size:8.5in 11.0in;}&gt; &gt; ..ExternalClass
div.EC_Section1&gt; &gt; {page:Section1;}&gt; &gt; ..ExternalClass ol&gt;
&gt; {margin-bottom:0in;}&gt; &gt; ..ExternalClass ul&gt; &gt;
{margin-bottom:0in;}&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi
list,&gt; &gt; &gt; &gt; After solving my last problem with NDOutils now
everytime I restart Nagios&gt; I&gt; &gt; have this nice messages in
/var/log/syslog&gt; &gt; &gt; &gt; &gt; &gt; Sep 18 15:38:01 test2 ndo2db:
Error: mysql_query() failed for 'INSERT INTO&gt; &gt;
nagios_configfilevariables SET instance_id='1', configfile_id='83',&gt; &gt;
varname='cfg_file',&gt;
varvalue='/usr/local/nagios/etc/objects/contacts..cfg''&gt; &gt; [snip]&gt;
&gt; &gt; &gt; &gt; &gt; I don't like it. How can I restart again the
database to don't have it or&gt; &gt; remove this query?&gt; &gt; &gt; &gt;
Several things can cause this. The most likely would be that&gt; &gt; either
you did not set up your databases using the correct schema for the&gt; &gt;
version of ndoutils you are using, or that your
nagios_configfilevariables&gt; &gt; table has been corrupted.&gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
¡Trónchate de risa con los mejores capítulos de South Park en MSN Vídeo!&gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt;
-------------------------------------------------------------------------&gt;
&gt; This SF.Net email is sponsored by the Moblin Your Move Developer's&gt;
challenge&gt; &gt; Build the coolest Linux based applications with Moblin
SDK &amp;amp; win great&gt; prizes&gt; &gt; Grand prize is a trip for two to
an Open Source event anywhere in the&gt; world&gt; &gt;
http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;
&gt; _______________________________________________&gt; &gt; Nagios-users
mailing list&gt; &gt; [email protected]&gt; &gt;
https://lists.sourceforge.net/lists/listinfo/nagios-users&gt; &gt; :::
Please include Nagios version, plugin version (-v) and OS when&gt; reporting
any issue. &gt; &gt; ::: Messages without supporting info will risk being
sent to /dev/null&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; --&gt; Essa
mensagem foi verificada contra vírus e conteúdo malicioso pelo Lisa
Antivírus.&gt; Ahora llévate lo mejor de MSN y Windows Live,  en tu móvil
> 
> 
> 



--
Essa mensagem foi verificada contra vírus e conteúdo malicioso pelo Lisa 
Antivírus.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to