I really need to stop the "In Effect" tabe from auto refreshing every 7 seconds or so. When you have thousands of downtimes it just kills the server and the page.
Someone had the same issue and posted what they did to stop it but I just can't find that thread! Also, the refresh button is there, why have it set on auto by default anyway?
Stopping "In Effect" from auto refreshing!
Stopping "In Effect" from auto refreshing!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Stopping "In Effect" from auto refreshing!
Change
to
in /usr/local/nagiosxi/html/includes/components/xicore/downtime.php around line 207. Will be overwritten on an upgrade, so take note.
Code: Select all
$(document).ready(function() {
get_downtimes(false);
setInterval(get_downtimes, 15000, true);
Code: Select all
$(document).ready(function() {
get_downtimes(false);
//setInterval(get_downtimes, 15000, true);
Former Nagios employee
Re: Stopping "In Effect" from auto refreshing!
Awesome, thanks! I'll add to my post upgrade mod list...close this up!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github