This issue has been migrated from Redmine: https://dev.icinga.com/issues/2119
Created by mzac on 2011-11-24 14:33:51 +00:00
When in the host/services list and you click on the check boxes on the right and then the screen refreshes (if you didn't click on pause) then you loose all your check boxes.
It would be interesting if when clicking on the check box that the interfaces pauses automatically or you can set a timer longer than the default of 30 seconds, say 1 minute.
2012-03-09 17:44:58 +00:00 by ricardo 0bb8178
2012-03-12 20:47:45 +00:00 by ricardo 14dddd9
2012-04-13 18:48:07 +00:00 by ricardo 7b9ec5b
2012-05-02 10:53:53 +00:00 by ricardo 784e3ff
2012-05-08 15:34:50 +00:00 by ricardo d6cbaa9
Updated by mjbrooks on 2011-12-04 10:49:30 +00:00
That's a very good point on the behavior.
I fear programming the solution won't be as straightforward if I recall the pause mechanics correctly.
That said, the default refresh is 90 seconds and it can be changed globally in cgi.cfg. Although, you would still have the same issue whenever the time threshold you set is crossed.
Updated by ricardo on 2011-12-08 14:59:21 +00:00
That's a good idea.
At the moment the refresh is done vie HTTP headers. This way we can't change the timeout for the current page.
Important to know would be: how reliable on reloading is this solution?
Think a config option for a fallback to refresh with HTTP header would be the way to go.
Updated by ricardo on 2012-03-09 17:55:40 +00:00
in current "rbartels/cgi". please test
Updated by ricardo on 2012-03-11 23:52:35 +00:00
Updated by mfriedrich on 2012-04-03 08:44:51 +00:00
hm. chromium 17.0.963.79 (Developer Build 125985 Linux)
tests within frameset
first reload takes 20sec, leaving many items. could be my browser/connection too.
after that reload it takes again 20sec to refresh plus load. the command dropdown is still missing.
when i finally hit F5 on the frameset, everything works fine afterwards.
over here, everything works fine as expected.
Updated by ricardo on 2012-04-13 22:34:01 +00:00
ok, found out the memory leak was caused by "Firebug". Switching it off keeps memory at a steady amount. This is a more general problem, not one of our scripts.
Think this issue can be considered resolved.
Updated by mzac on 2012-04-27 16:02:46 +00:00
The only thing I find weird is that on the main tac overview, the timer shows up on one line:
Last Updated: - Update in xx seconds [pause]
However on some other screens, like for example the service detail, it shows up as:Last
Updated: - Update in xx
And by the time the timer comes up it bumps the whole page down by one line, so if you were already ready to click on something on the page it moves down.
This is with Chrome on Windows 7 and I see the same thing in IE
Updated by mzac on 2012-04-30 16:47:16 +00:00
Yes I guess we could open another issue on that, the function of this feature works as expected (and even better than I originally thought!)
Updated by ricardo on 2012-05-02 10:56:20 +00:00
changed behavior of line break in status.cgi with displayed status totals
also added a reload icon
I think this is save for 1.7 but this is open for discussion.
in current rbartels/cgi
Updated by mzac on 2012-05-07 19:16:21 +00:00
It doesn't see like the timer resets any more when I choose a service since this last change. Can anyone else confirm if this is the case?