I'd like to be able to enable/disable the autorefresh of some of the Graphs and Screens within Zabbix so that I can study the pages longer than the autorefresh lasts. This could be done by using JavaScript to control the page refresh instead of the meta tag that is used today. Using JavaScript you could also have a checkbox on the page that could be used to enable/disable the timer. It could also have the potential of allowing a textbox on the page that the user could set a custom refresh in.
I've attached a "proof of concept" that does just this. It's a simple html page with a timer that starts when the page loads. After the time is up, if the checkbox is checked the page will reload. If the checkbox is unchecked the page will not reload. Furthermore, if the checkbox is changed, then it resets the timer. This allows someone to disable the timer, check the page for however long they need to, then re-enable the timer by checking the checkbox again.
Any thoughts or suggetions?
-cameron
I've attached a "proof of concept" that does just this. It's a simple html page with a timer that starts when the page loads. After the time is up, if the checkbox is checked the page will reload. If the checkbox is unchecked the page will not reload. Furthermore, if the checkbox is changed, then it resets the timer. This allows someone to disable the timer, check the page for however long they need to, then re-enable the timer by checking the checkbox again.
Any thoughts or suggetions?
-cameron
Comment