SuperLinks - Force Auto Refresh
Moderators: Developers, Moderators
SuperLinks - Force Auto Refresh
Does anyone know of a way to auto-refresh a superlinks page? I have a few pages set up as links in the console menu and would like to have them auto-fresh every 5 minutes. I've tried to do this with a some script in the HTML, but it doesn't seem to work.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: SuperLinks - Force Auto Refresh
Which type of page is it? A page fragment, or a URL to somewhere else?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: SuperLinks - Force Auto Refresh
Right now it is an iframe referencing a netflow graph generated based on the URL. That can change as long as I still get the graph (cgi page).
Re: SuperLinks - Force Auto Refresh
What code did you use?
With this code it should work.
<header><meta http-equiv="refresh" content="1;URL=refer to the same page"></header>
The '1' is the number of second you want to wait before refreshing
At the variable URL you put the name of your file.
With this code it should work.
<header><meta http-equiv="refresh" content="1;URL=refer to the same page"></header>
The '1' is the number of second you want to wait before refreshing
At the variable URL you put the name of your file.
Re: SuperLinks - Force Auto Refresh
Will this work even though there are supposed to be no HEAD or BODY tags?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: SuperLinks - Force Auto Refresh
<header> isn't a valid HTML tag
Even with <head>, that would wait one second and load the other page, once.
Really you need to get the refresh header into the remote page.
Even with <head>, that would wait one second and load the other page, once.
Really you need to get the refresh header into the remote page.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: SuperLinks - Force Auto Refresh
I actually found a commented out variable in the superlinks.php page.
$refresh['seconds']
I uncommented it and set it to 120. That seems to work.
Howie - Would it be possible to have this be a variable that can be set on a per-page basis?
$refresh['seconds']
I uncommented it and set it to 120. That seems to work.
Howie - Would it be possible to have this be a variable that can be set on a per-page basis?
Who is online
Users browsing this forum: No registered users and 0 guests