|
|
| Author |
Message |
DaDaemon
Joined: 09 Jul 2004 Posts: 23
|
Posted: Tue Apr 03, 2007 4:37 am Post subject: Weathermap doesn't auto refresh page |
|
|
When I open up a weathermap it sometimes won't put the refresh page in the header of the page. This way the image will never refresh.
Anyone has any idea how to solve this? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Wed Apr 04, 2007 7:20 am Post subject: Re: Weathermap doesn't auto refresh page |
|
|
| DaDaemon wrote: | When I open up a weathermap it sometimes won't put the refresh page in the header of the page. This way the image will never refresh.
Anyone has any idea how to solve this? |
If you mean from the Weathermaps tab in Cacti, then all it does is call Cacti's own "write a HTML header including the refresh" function... is it on a specific view (thumbnail, full screen, list of full-size)? |
|
| Back to top |
|
 |
DaDaemon
Joined: 09 Jul 2004 Posts: 23
|
Posted: Tue Apr 10, 2007 5:31 am Post subject: |
|
|
Hmmm... Ok Howie. But how can I add a refresh then?
I want to put a specific weathermap (Weathermap Tab -> Click on a weathermap) to refresh after 5 minutes so I can quickly see problems in the network.
Edit: Found the problem! When I start Cacti and go directly to the Weathermap it won't add the refresh. If I go to a graph in the graphs tab and then go to the weathermap it will refresh.
Strange! |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue Apr 10, 2007 5:53 am Post subject: |
|
|
| DaDaemon wrote: | Hmmm... Ok Howie. But how can I add a refresh then?
I want to put a specific weathermap (Weathermap Tab -> Click on a weathermap) to refresh after 5 minutes so I can quickly see problems in the network.
Edit: Found the problem! When I start Cacti and go directly to the Weathermap it won't add the refresh. If I go to a graph in the graphs tab and then go to the weathermap it will refresh.
Strange! |
Can you clarify please? Do you mean that if you view the map as a guest user, or do you mean that after logging in you still need to view a graph first?  |
|
| Back to top |
|
 |
DaDaemon
Joined: 09 Jul 2004 Posts: 23
|
Posted: Tue Apr 10, 2007 9:40 am Post subject: |
|
|
Ok. Let's start from the beginning.
I start my browser and point it to cacti.
I log in as admin and cacti shows me the console tab.
I click on the weathermap tab.
I click on one of my two created weathermaps.
If I look at the source I see this.
| Code: | <html>
<head>
<title>cacti</title>
<link href="/cacti/include/main.css" rel="stylesheet">
<link href="include/favicon.ico" rel="image/x-icon">
<link rel="shortcut icon" href="include/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/cacti/include/treeview/ua.js"></script>
<script type="text/javascript" src="/cacti/include/treeview/ftiens4.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar-setup.js"></script>
</head>
|
Then I click on the graphs tab.
I click on the weathermap tab.
I click on one of my two created weathermaps.
If I look at the source I see this.
| Code: | <html>
<head>
<title>cacti</title>
<meta http-equiv=refresh content='60'>
<link href="/cacti/include/main.css" rel="stylesheet">
<link href="include/favicon.ico" rel="image/x-icon">
<link rel="shortcut icon" href="include/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/cacti/include/treeview/ua.js"></script>
<script type="text/javascript" src="/cacti/include/treeview/ftiens4.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar-setup.js"></script>
</head>
|
I hope this clears some dust from my posts  |
|
| Back to top |
|
 |
dreamonxu
Joined: 08 May 2007 Posts: 1
|
Posted: Tue May 08, 2007 9:09 pm Post subject: |
|
|
| Thank you . Now my weathermap works very well . Thanks again. |
|
| Back to top |
|
 |
Arron
Joined: 09 Oct 2008 Posts: 7
|
Posted: Thu Oct 16, 2008 3:02 pm Post subject: |
|
|
Mine says it refreshes after 300 seconds even though I changed it to every 5 within Configuration/Settings/Misc.
| Code: | <title>Cacti - Weathermap</title>
<meta http-equiv=refresh content='300'>
|
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Thu Oct 16, 2008 3:46 pm Post subject: |
|
|
| Arron wrote: | Mine says it refreshes after 300 seconds even though I changed it to every 5 within Configuration/Settings/Misc.
| Code: | <title>Cacti - Weathermap</title>
<meta http-equiv=refresh content='300'>
|
|
That setting is for cycling through maps. If you hit the 'Automatically Cycle' link in the top right, then you will indeed get a new map displayed every 5 seconds. It will still only be recalculated once every poller cycle though. |
|
| Back to top |
|
 |
fmerrill
Joined: 28 Oct 2008 Posts: 2 Location: North Carolina
|
Posted: Fri Oct 31, 2008 7:57 pm Post subject: |
|
|
That actually brought to mind a 'Hold' and 'Resume' feature for when cycling is turned on.
In the event someone has thier system set to cycle through maps at a fast interval, and sees a map with something 'red' (or for whatever reason) they may want to hold that map, to take a longer look.
Of course, since most people probably do not have that fast of a refresh cycle, it may be a wasted effort.
If ever implemented, maybe it could be turned on and off with a check box in the settings menu, and of course only ever display when in auto cycle mode anyway. |
|
| Back to top |
|
 |
|