| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| refresh interval http://www.steveshipway.org/forum/viewtopic.php?f=2&t=4327 |
Page 1 of 1 |
| Author: | speed.53 [ Thu Apr 28, 2011 9:27 pm ] |
| Post subject: | refresh interval |
Hi I want to use page refresh interval less then from 5 minutes. I use interval: 1 command on mrtg.cfg file but how can i accomplish this on routers.cgi Thanks your answer |
|
| Author: | stevesh [ Thu May 05, 2011 5:41 pm ] |
| Post subject: | Re: refresh interval |
Each graph page should refresh at the optimum speed for the graph interval -- so if it is a 6hour graph, it will refresh every 1min, if it is a daily graph, every 5min, and so on. There is nothing to gain by increasing the refresh speed, since the images will cache in any case as the data will not have updated. |
|
| Author: | speed.53 [ Fri May 06, 2011 12:45 am ] |
| Post subject: | Re: refresh interval |
Thanks Steve is there any way to refresh every 1min on daily graph |
|
| Author: | stevesh [ Sat May 07, 2011 11:22 am ] |
| Post subject: | Re: refresh interval |
There's no way to do this. However, I can't see the point. Since the data only update every 5min on the daily graph (yes, even if you poll every 1 min, the DAILY graph uses 5min aggregations) and the browser is instructed to cache graph graph image for up to 5min, there is no point in making the browser refresh the graph every minute as the image will not change. |
|
| Author: | speed.53 [ Sat May 07, 2011 8:45 pm ] |
| Post subject: | Re: refresh interval |
Thanks steve for your answer I want to ask another question. There isn't 6hour graph in All graph. I open the All graph page i don't see 6 hour graph on this page. is there any way to add 6 hour graph on All graph. |
|
| Author: | stevesh [ Sun May 08, 2011 10:17 am ] |
| Post subject: | Re: refresh interval |
The 'allgraphs' graph style is 'dwmy' -- this would need to be '6dwmy' to get the 6hour graphs on there. In order to do this, you'd need to modify the routers2.cgi code a little (at the beginning where it defines the valid graph styles) |
|
| Author: | speed.53 [ Tue May 10, 2011 1:27 am ] |
| Post subject: | Re: refresh interval |
Yesss. Thank you so much steve. it's ok |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|