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!"
On the page it says that this usually is because nagios isnt started properly or correcly. I have read the docs on how to start/reload/verify the configuration for nagios and im still getting this message.
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...
[04-07-2007 02:43:17] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:41:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:33:17] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:33:17] Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX'. Retention data will not be processed or saved!
[04-07-2007 02:31:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:31:04] Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX'. Retention data will not be processed or saved!
[04-07-2007 02:23:17] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:21:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:13:17] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:11:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:03:17] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...
[04-07-2007 02:01:34] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds...