Weathermap doesn't auto refresh page
Moderators: Developers, Moderators
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?
Anyone has any idea how to solve this?
Starting with Cacti -.-
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap doesn't auto refresh page
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)?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?
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!)
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!
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!
Starting with Cacti -.-
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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?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!
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!)
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.
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.
I hope this clears some dust from my posts
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: Select all
<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>
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: Select all
<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>
Starting with Cacti -.-
Mine says it refreshes after 300 seconds even though I changed it to every 5 within Configuration/Settings/Misc.
Code: Select all
<title>Cacti - Weathermap</title>
<meta http-equiv=refresh content='300'>
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.Arron wrote:Mine says it refreshes after 300 seconds even though I changed it to every 5 within Configuration/Settings/Misc.
Code: Select all
<title>Cacti - Weathermap</title> <meta http-equiv=refresh content='300'>
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!)
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.
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.
can you create maps based on aggregate graphs
can you create maps based on aggregate grapsh. For example, I would like to be able to look at my total inbound and outbound traffic from diffrent routers. Can I add different routers interface outbound and inbound traffic?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: can you create maps based on aggregate graphs
Not sure what it has to do with map refresh, but yes, you can. Just list all the targets one after another, separated by spaces. You can do some basic math even (e.g. this input - that output + 2 x that input)gsaray101 wrote:can you create maps based on aggregate grapsh. For example, I would like to be able to look at my total inbound and outbound traffic from diffrent routers. Can I add different routers interface outbound and inbound traffic?
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!)
aggregate traffic map
Hi Howie:
I tried this:
have 8 routers. I create links from all of these to an ISP and then internet. I tried to add all of the rrds to internet link from ISP. But, outbound data seem to be showing inbound and vise versa. any ideas?
I tried this:
have 8 routers. I create links from all of these to an ISP and then internet. I tried to add all of the rrds to internet link from ISP. But, outbound data seem to be showing inbound and vise versa. any ideas?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: aggregate traffic map
If the interfaces are on the routers, then their out is the in on the internet link, so you need to flip the DS names in each target:gsaray101 wrote:Hi Howie:
I tried this:
have 8 routers. I create links from all of these to an ISP and then internet. I tried to add all of the rrds to internet link from ISP. But, outbound data seem to be showing inbound and vise versa. any ideas?
TARGET blah.rrd:traffic_out:traffic_in
so that it treats in as out and out as in.
Or, change the link from the ISP to the internet to be from the internet to the ISP (swap the NODES order around).
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!)
weathermap
Hi Howie:
I realy like this plugin. I would like to know all of the capabilities. Is there a doc somewhere that goes through all of this. For example, target blah.rrd:traffic_out:traffic_in
I realy like this plugin. I would like to know all of the capabilities. Is there a doc somewhere that goes through all of this. For example, target blah.rrd:traffic_out:traffic_in
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: weathermap
Yes. Look in the docs folder where you installed it! There's pages and pages of manual.gsaray101 wrote:Hi Howie:
I realy like this plugin. I would like to know all of the capabilities. Is there a doc somewhere that goes through all of this. For example, target blah.rrd:traffic_out:traffic_in
Look at http://www.network-weathermap.com/docs/ where there are more articles about various features.
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!)
Who is online
Users browsing this forum: No registered users and 2 guests