Erro no cgi
Serial
serial at techs.com.br
Mon Oct 6 17:48:48 CEST 2003
Bom dia,
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 "Status Overview" ele me mostra a seguinte tela:
Whoops!
Error: Could not read host and service status information!
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.
Some other things you should check in order to resolve this error include:
1.. Check the Nagios log file for messages relating to startup or status data errors.
2.. Always verify configuration options using the -v command-line option before starting or restarting Nagios!
3.. 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.
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 http://www.nagios.org.
Bom, fui verificar o s nagios.log através do tail -f e me mostrou o seguinte erro:
Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'usuario' and password 'senha' for downtime data!
Ae troquei o "localhost" pelo ip da maquina e tambem da o mesmo erro.
Alguem sabe o que pode estar acontecendo?
Obrigado
Serial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031006/f6c1bcb7/attachment.html>
More information about the Users
mailing list