To get the most performance possible in the Nagios GUI I have made some small edits to timings and intervals.
One such change is to the Quick-View -> Birdseye – which was causing me grief without being obvious.
Change the following lines:
// Display simple JS clock setInterval('update_clock()', 1000);// Display updates setInterval('update_display_view(show_handled)', 10000); setInterval('update_display_view(show_soft)', 10000); setInterval('update_display_list(show_handled)', 10000); setInterval('update_display_list(show_soft)', 10000);
// Display simple JS clock // changed to refresh one time per minute setInterval('update_clock()', 60000);// Display updates once a minute setInterval('update_display_view(show_handled)', 60000); setInterval('update_display_view(show_soft)', 60000); setInterval('update_display_list(show_handled)', 60000); setInterval('update_display_list(show_soft)', 60000);
Since the clock only updates once a minute now, there is no need to show the seconds
At bottom of the same file change
var str = hours + ":" + minutes + ":" + seconds + " " + post;
var str = hours + ":" + minutes + " " + post;
Find and change from:
This reduces load on the httpd processes and requires less overhead as the end user web browser requests refreshes less often. Birdseye had been grabbing a TON of data every 10 seconds. With a large site, you can tell that something is using resources.
But not any more.
If anyone is running a large installation, this simple refresh timing thing could be causing performance issues. I find that GUI refreshes less than one minute make no difference to the tool users. I have increased all the settings I can find such that GUI refreshes do not impact my server. One at a time, find and change. I have not heard that anyone even noticed. But the tool is definitely running better.