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