<!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>Galera</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Consegui arrumar, era um problema com a senha do 
usuario que estava errada, se ajudar para alguem, o que eu fiz foi 
isso</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>mysql> SET PASSWORD FOR <A 
href="mailto:'nagios'@'localhost'">'nagios'@'localhost'</A> = PASSWORD 
('password');</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>[]´s</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Serial</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=serial@techs.com.br href="mailto:serial@techs.com.br">Serial</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=nagios-users@lists.sourceforge.net 
  href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 06, 2003 8:48 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Erro no cgi</DIV>
  <DIV><BR></DIV>
  <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></BLOCKQUOTE></BODY></HTML>