RES: Problems Using MYSQL DB

Jarbas Peixoto Junior - DATAPREVGO jarbas.peixoto at go.previdenciasocial.gov.br
Thu Oct 17 18:36:38 CEST 2002


I was this same problem, but the solucion are:

-----------------------------------
My problem was: the file " resource.cfg " was with the configurations for
access to MySQL in white, that is, it was not configured.  
  
Reading the documentation again verified that had made a mistake with the
file " cgi.cfg ".  

Correcting the problem Nagios worked perfectly.
-----------------------------------

-----Mensagem original-----
De: Carlos Rego [mailto:carlos at datacolo.com]
Enviada em: quarta-feira, 16 de outubro de 2002 22:30
Para: nagios-users at lists.sourceforge.net
Assunto: [Nagios-users] Problems Using MYSQL DB


When I start Nagios, I get the following in the LOG file

[1034817387] Error: Could not connect to MySQL database '' on host '' using
username '' and password ''.  Status data will not be saved!
[1034817387] Error: Could not connect to MySQL database '' on host '' using
username '' and password ''.  Retention data will not be processed or saved!
[1034817387] Error: Could not re-connect to database server on host '' for
status data.  I'll keep trying every 60 seconds...
[1034817387] Error: Could not connect to MySQL database '' on host '' using
username '' and password '' for comment data!
[1034817387] Error: Could not connect to MySQL database '' on host '' using
username '' and password '' for downtime data!

but I DO have those settings set in th cgi.cfg 

xsddb_host=localhost
xsddb_port=3306
xsddb_username=nagios
xsddb_password=xxxxx
xsddb_database=nagios

and I commented out status_file=/ in the main file .. 

what can I be doign wrong ? :( .. when I go to Nagios it says "Error: Could
not read host and service status information!"

(I assuem it's related)

-- 
Carlos Rego, carlos at datacolo.com on 10/16/2002



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm




More information about the Users mailing list