Nagios not starting up properly
Im having some problems with Nagios. Ive set up this program and configured it in a very small way, like adding one host and a service. I then verified the config file for Nagios which went well without any errors or warnings.
When i access nagios from the net it works fine, but when im trying to access a page in nagios i get this message: Code:
"Error: Could not read host and service status information!" Does someone know why im getting this message and how i can correct it? I appericiate all help :) Additional information: When im in nagios and viewing the log files i get these messages: Code:
[04-07-2007 02:51:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... |
Are you trying to use MySQL with nagios? if som it doesn't look like you gave it proper database login credentials. I think the latest versions don't even support database back ends (but use flat-files instead). If you don't have a database set up you might just try with flat files.
|
Thanks for answering.
I never sat up any mysql server for use with nagios nor have i provided any username or password anywhere in the configuration files. I have no idea where nagios gets this information about any database being used, i have searched for something that would say anything about using a mysql database in the config files, but i didnt find anything. I do think its a little strange that the log says that there is something wrong with connecting and using a mysqlserver and/or database, because i havent set any directives that should indicate the use of a mysql database server. I got these packages from the apt-get utility in debian, so it kinda installed itself automatically like all programs when using the apt-get utility. I have thought about uninstalling this software and install it from source code, but its just that it doesnt seem to be anything wrong with the config files, so i dont really know if it would be any different. |
All times are GMT -5. The time now is 04:01 PM. |