<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>The thing is this on my
source of nagios and nagios-plugins did not came de dump of mysql and the weird
thing is this message on nagios.log<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>[1090941392] Error: Could not connect to MySQL
database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Status data will not be saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Retention data will not be processed or saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error: Could
not re-connect to database server on host '' for statu<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>s data.  </span>I'll
keep trying every 60 seconds...<br>
<br>
<?/bigger><?/bigger><?/fontfamily></font><font size=2 color=navy face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Nagios is not taking the
fileds of database on resources.cfg <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>En nombre de </span></b>Anthony Costa<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> martes, 27 de julio de
2004 18:43<br>
<b><span style='font-weight:bold'>Para:</span></b> nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Asunto:</span></b> Re: [Nagios-users] Problem
With nagios with mysql</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>sorry about the
confusion. in that case, if all that is set, i don't<br>
know what to tell you from here. could you include a dump of your<br>
mysql nagiosdb tables after expanding the nagios mysql template?<br>
<br>
ac;<br>
On Jul 28, 2004, at 12:04 AM, Manuel Alejandro Peña Sánchez wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger>Anthony:<br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger>I have
done that, the thing is that my nagios doesn’t recognize the mysql Server
and i dont have a .deb o the dump of nagios database, I also have my database
fields typed on my resources.cfg and my cgi.cfg.<br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger>Does
any have an idea??<br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger>Regards<br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Arial><?color><?param 0000,0000,8080><?x-tad-bigger> <br>
<?/x-tad-bigger><?/color><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<br>
<b><?fontfamily><?param Tahoma><?x-tad-bigger><span style='font-weight:bold'>De:</span><?/x-tad-bigger><?/fontfamily></b><?fontfamily><?param Tahoma><?x-tad-bigger>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><?x-tad-bigger><span
style='font-weight:bold'><?/x-tad-bigger>En nombre de </span><?/x-tad-bigger></b><?x-tad-bigger>Anthony
Costa<br>
<?/x-tad-bigger><?/fontfamily><b><?fontfamily><?param Tahoma><?x-tad-bigger><span
style='font-weight:bold'>Enviado el:</span><?/x-tad-bigger><?/fontfamily></b><?fontfamily><?param Tahoma><?x-tad-bigger>
martes, 27 de julio de 2004 14:51<br>
<?/x-tad-bigger><?/fontfamily><b><?fontfamily><?param Tahoma><?x-tad-bigger><span
style='font-weight:bold'>Para:</span><?/x-tad-bigger><?/fontfamily></b><?fontfamily><?param Tahoma><?x-tad-bigger>
nagios-users@lists.sourceforge.net<br>
<?/x-tad-bigger><?/fontfamily><b><?fontfamily><?param Tahoma><?x-tad-bigger><span
style='font-weight:bold'>Asunto:</span><?/x-tad-bigger><?/fontfamily></b><?fontfamily><?param Tahoma><?x-tad-bigger>
Re: [Nagios-users] Problem With nagios with mysql<br>
<?/x-tad-bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>make sure you have mysql
installed and running.<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>then what you want to do
here is this ... first extract the table setup<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>into
mysql using<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>zcat
/usr/share/doc/nagios-mysql/create_mysql.sql.gz | mysql<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>-u
root -p nagios<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>(the above file may be
in a different place on your system, but a<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>then
create your locks for the mysql user<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>GRANT
LOCK TABLES ON nagios.* TO nagios@localhost IDENTIFIED<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>BY
'password';<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>GRANT
SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON nagios.* TO<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>nagios@localhost;<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>then you're gonna need
to edit your resource.cfg and cgi.cfg such that<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>each
one of the database fields correspond to machine=localhost,<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>user=nagios,
passwd=password specified above.<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>reboot and pray!<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New Roman><?bigger><?bigger>ac;<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>On Jul 27, 2004, at 7:11
PM, Manuel Alejandro Peña Sánchez wrote:<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>I compiled nagios with
suport of mysql, this are my parameters of configure:<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>./configure
--prefix=/usr/local/nagios --with-cgiurl=/cgi-bin --with-htmurl=/nagios
--with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-lib=/usr/lib
--with-mysql-inc=/usr/include/mysql --with-mysql-status 
--with-mysql-comments  --with-mysql-extinfo 
--with-mysql-retention  --with-mysql-downtime --with-mysql-xdata
--libexecdir=/usr/local/nagios/libexec<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>The version of my nagios
is 1.2<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>And the problem that I
have is that nagios.log sends me this output:<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Nagios 1.2
starting... (PID=18906)<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Finished
daemonizing... (New PID=18907)<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Status data will not be saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Retention data will not be processed or saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error: Could
not re-connect to database server on host '' for statu<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>s data.  I'll keep
trying every 60 seconds...<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password ''
for comment data!<br>
<br>
<?/bigger><?/bigger><?/fontfamily><font color=navy><span style='color:navy'><o:p></o:p></span></font></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>[1090941392] Error: Could not connect to MySQL
database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Status data will not be saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password
''.  Retention data will not be processed or saved!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error: Could
not re-connect to database server on host '' for statu<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>s data.  I'll keep
trying every 60 seconds...<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password ''
for comment data!<br>
<br>
<?/bigger><?/bigger><?/fontfamily></span></font><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941392] Error:
Could not connect to MySQL database '' on host '' using user<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>name '' and password ''
for downtime data!<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
</span><?fontfamily><?param Times New Roman><?bigger><?bigger>And it starts but
when it tries to check a host it doesn’t recognize any check program and
sends this output:<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>[1090941492] HOST ALERT:
linux1;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> Seconds<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>And on some times it
sends that nagios doesn’t found a check_xxx plugin, beside I have
compiled also the nagios-plugins source.<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>May any one help me,
also I want to know if any one have a dump of mysql tables for nagios.<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>Regards<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger> <br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>Manuel<o:p></o:p></font></p>

<?/bigger><?/bigger><?/fontfamily></div>

</body>

</html>