<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Bom dia,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Utilizo o nagios-mysql em um Debian e estou com o 
seguinte problema, o nagios esta autenticando normalmente mas quando mando abrir 
a opção "<A class=NavBarItem onmouseover="switchdot('hgstatus-dot',1)" 
onmouseout="switchdot('hgstatus-dot',0)" 
href="http://mercurio.wave.net.br/nagios/cgi-bin/status.cgi?hostgroup=all" 
target=main><STRONG><FONT style="BACKGROUND-COLOR: #000000" face=Arial 
color=#dee7c6>Status Overview</FONT></STRONG></A>" ele me mostra a seguinte 
tela:</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV>
<H1>Whoops!</H1>
<P><STRONG><FONT color=red>Error: Could not read host and service status 
information!</FONT></STRONG></P>
<P>The most common cause of this error message (especially for new users), is 
the fact that Nagios is not actually running. If Nagios is indeed not running, 
this is a normal error message. It simply indicates that the CGIs could not 
obtain the current status of hosts and services that are being monitored. If 
you've just installed things, make sure you read the documentation on starting 
Nagios. </P>
<P>Some other things you should check in order to resolve this error include: 
</P>
<P>
<OL>
  <LI>Check the Nagios log file for messages relating to startup or status data 
  errors. 
  <LI>Always verify configuration options using the <B>-v</B> command-line 
  option before starting or restarting Nagios! 
  <LI>Make sure you've compiled the main program and the CGIs to use the same 
  status data storage options (i.e. text file or database). If the main program 
  is storing status data in a text file and the CGIs are trying to read status 
  data from a database, you'll have problems. </LI></OL>
<P></P>
<P>Make sure you read the documentation on installing, configuring and running 
Nagios thoroughly before continuing. If all else fails, try sending a message to 
one of the mailing lists. More information can be found at <A 
href="http://www.nagios.org">http://www.nagios.org</A>. </P>
<P> </P>
<P><FONT face=Verdana size=2>Bom, fui verificar o s nagios.log através do tail 
-f e me mostrou o seguinte erro:</FONT></P>
<P><FONT face=Verdana size=2>Error: Could not connect to MySQL database 'nagios' 
on host 'localhost' using username 'usuario' and password 'senha' for downtime 
data!</FONT></P>
<P><FONT face=Verdana size=2>Ae troquei o "localhost" pelo ip da maquina e 
tambem da o mesmo erro.</FONT></P>
<P><FONT face=Verdana size=2>Alguem sabe o que pode estar 
acontecendo?</FONT></P>
<P><FONT face=Verdana size=2></FONT> </P>
<P><FONT face=Verdana size=2>Obrigado</FONT></P>
<P><FONT face=Verdana size=2></FONT> </P>
<P><FONT face=Verdana size=2>Serial</FONT></P></DIV></BODY></HTML>