All;
I've just upgraded my Nagios server from 3.4 to 4.0.8 (on CentOS 6) and am having an issue. When I make a config change and restart Nagios, it restarts normally and I can immediately check its status by typing "service nagios status" with it returning "nagios is running". However, the web server is displaying the dreaded "Whoops! Error: Could not read host and service status information!" for up to *two minutes* after the restart. My 3.4 installation definitely do this. I've verified the config and looked at the output using the nagios -s switch and they look normal. I'm not sure what I am missing here, but this just doesn't seem like normal behavior. Any insight at all would be greatly appreciated.
Thanks;
FSD
Nagios 4 - Web server takes 2 min to display after restart
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios 4 - Web server takes 2 min to display after resta
Can you attach your nagios.cfg file from:
(Note: The path may differ based on distribution)
What distribution are you running this on? I also noted that you said "My 3.4 installation definitely do this." Was that a typo, or are you saying that your old version of Nagios has this problem as well? Can we also get the output from:
Once the web interface displays, you can cut that tail and attach the output.
Code: Select all
/usr/local/nagios/etc/
What distribution are you running this on? I also noted that you said "My 3.4 installation definitely do this." Was that a typo, or are you saying that your old version of Nagios has this problem as well? Can we also get the output from:
Code: Select all
service nagios restart
Code: Select all
tail -f /usr/local/nagios/var/nagios.log