Advanced Weathermap

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Advanced Weathermap

Post by Livio Zanol »

Hello guys and Howie,

I've posted months ago about how to find nodes coordinates in Panagiotis Christias weathermap... I gave up, now i'm using PHP Weathermap ;)

But,

I have a problem. I need to use the images(arrows and nodes only) generated by the weathermap in a "geo processing" map, with it's all other stuffs, like zoom.
http://geoweb.vitoria.es.gov.br/geosite.asp

I have to do this because my map would be too big to fit in a static image, and this behavior will make weathermaps unusable...

Imagine 60 different districts in a small region, and every district has a node... Well this is my situation... Take a look at the map bellow, every region in this map must contain a node...

http://www.ipes.es.gov.br/load_image.as ... 750&h=1191

I can't do this with this static map, so doing this in a "geo processing" like map would do the job by have the function to clear navigate into the map...

Any help with this problem will be appriciate

thanks, Livio
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Advanced Weathermap

Post by Howie »

Livio Zanol wrote: Imagine 60 different districts in a small region, and every district has a node... Well this is my situation... Take a look at the map bellow, every region in this map must contain a node...
Only one node each? That isn't *that* big...
Livio Zanol wrote: I can't do this with this static map, so doing this in a "geo processing" like map would do the job by have the function to clear navigate into the map...
So something like google maps? (I can't get your geoweb map to work in Safari or Firefox) I think the easiest way to do this would be to generate the giant map and then chop it up into tiles to use with a javascript-based viewer (like google maps). I guess you only really need 2 levels of zoom - one showing the whole state (roughly), and one showing a few counties (?).

I also think that you might be unique in needing 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!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Re: Advanced Weathermap

Post by streaker69 »

Howie wrote:
I also think that you might be unique in needing this...
I can think of one of one other forum member (not me), that might find it handy , but probably he probably hasn't thought of needing it yet.
Ahuber
Cacti User
Posts: 59
Joined: Thu Nov 16, 2006 1:57 pm
Location: BC, kootenays

Post by Ahuber »

I have the same problem, but I did something.. Not sure if this will suit you...
What I did was made a map with core switches, this allows me to see core traffic levels. and then, for each core switch, another map to show all their corresponing relevent links that I care about.

Then on each core switch, I added a HTTP link to their respective maps, so when one clicks on it, it opens another map to show in greater detail the area specific to that which I care to see.

It's not like variable zooming, but you can see where this is getting at.
slander
Posts: 32
Joined: Thu Mar 16, 2006 12:01 pm

Post by slander »

Ahuber wrote:I have the same problem, but I did something.. Not sure if this will suit you...
What I did was made a map with core switches, this allows me to see core traffic levels. and then, for each core switch, another map to show all their corresponing relevent links that I care about.

Then on each core switch, I added a HTTP link to their respective maps, so when one clicks on it, it opens another map to show in greater detail the area specific to that which I care to see.

It's not like variable zooming, but you can see where this is getting at.
Similar solution - I have about a hundred sites, mostly in the US. My main map is of the US, with a node at each of my city sites. The node has an infourl of the map to a doc with the devices under it.

The devices get their status from nagios and change the icon to match (red/yellow/green) and, also, bubble that up to the top level map.
Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Post by Livio Zanol »

Sorry about the HUGE number of topics with the same subject as this...

The forum was bugged, and I've tried to post this topic several times without success... I've already deleted the others...

About my question, I'm very busy and I'll have a time to answer this today afternoon

Thx
User avatar
SyxPak
Posts: 16
Joined: Fri Mar 24, 2006 7:56 am
Location: Ireland
Contact:

Post by SyxPak »

slander wrote:
Ahuber wrote:I have the same problem, but I did something.. Not sure if this will suit you...
What I did was made a map with core switches, this allows me to see core traffic levels. and then, for each core switch, another map to show all their corresponing relevent links that I care about.

Then on each core switch, I added a HTTP link to their respective maps, so when one clicks on it, it opens another map to show in greater detail the area specific to that which I care to see.

It's not like variable zooming, but you can see where this is getting at.
Similar solution - I have about a hundred sites, mostly in the US. My main map is of the US, with a node at each of my city sites. The node has an infourl of the map to a doc with the devices under it.

The devices get their status from nagios and change the icon to match (red/yellow/green) and, also, bubble that up to the top level map.
We're doing similar here for our campus;

top-level map showing core switches and main distribution areas, with each distribution area node having the info url set to seperate weathermaps for each sub-area, showing the distribution and access nodes (space/importance permitting).
I wonder would it be feasible to have a mini-weathermap in the overlib pop-up? Or would recursive overlibs cack the browser?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

SyxPak wrote:I wonder would it be feasible to have a mini-weathermap in the overlib pop-up? Or would recursive overlibs cack the browser?
You can certainly use the thumbnail images that the cacti plugin generates as ICON or OVERLIB images. If you order the maps correctly, so that the 'big' one is done last[*], then the thumbnails will be of the current iteration of the map, too.

so that's either:

Code: Select all

NODE submap
   ICON output/weathermap_thumb_10.png
   INFOURL weathermap-cacti-plugin.php?action=viewmap&id=10
or

Code: Select all

NODE submap
    INFOURL weathermap-cacti-plugin.php?action=viewmap&id=10
    OVERLIBGRAPH output/weathermap_thumb_10.png
Of course the thumbnail map doesn't 'work' in the sense of recursive overlib, that you mentioned, but you do get some overview of all the maps that way.

Weathermap 0.9 makes this a little easier, since it lets you scale icons to fit a certain size, so you aren't limited to the thumbnail size.

[*] actually, I think it currently produces the maps in ID order, but I'll make that change for the next release, so you can do this type of thing. For now, the thumbnail would be on a 5 minute delay, unless you delete and re-add the master map to give it a higher ID.
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!)
Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Post by Livio Zanol »

I've tried to make a subdivision in the map, but even in this way the map will be to complicated...
The links are framerelayed and come from only 2 routers... So even with this "division", the "submap" will be to poluted...

Take a look at the example image below:

http://img158.imageshack.us/img158/1481/mapagh0.jpg


In the Image the "yellow area" is my submap, and imagine one sinlge point connecting to all others (like one-to-multiples)
slander
Posts: 32
Joined: Thu Mar 16, 2006 12:01 pm

Post by slander »

Livio,

Had a similar problem - too many connections to a single point, so it got too messy. My solution, since it was givin that each connection was to the central point, I didn't bother actually connecting them - for each end point I made an invisable node (no label) off to the side of it and made the link to that node. Made it much more readable, although it does loose the obvious connection to the central point.

In your case, on the top level map, I would only show the connections between your regions, and then click into each region to see the regional maps.

Good luck - would like to see the end result, ifyou can share it!
Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Post by Livio Zanol »

Thanks very much for all the answers gived. I'm very happy that everyone understood what was my need...

One of the reasons that I like Routers2.cgi, is the "browser search function"... In the Routers2.cgi all graphs have a clear description write in CLEAR TEXT wich I can search trought the browser feature... In the cacti I've had to wirte a subtree for every node that I have in my network...

Imagine the HelpSupport Team looking at this kind of map... It will be unusable, since they won't be able to search "where that node is" and will go crazy... "Where's the XXXXXX node? They're the 'monitoring guy' I'm only the 'implement guy'". So, they will have to look at the map and locate the Problem node... If the map could allow the "browser search function" will be much more usable...

Since It's not possible I need to have a cleared an easy to analyse Network Map, so the HelpSupport Team can analyse correctly the map.

:)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Livio Zanol wrote: Imagine the HelpSupport Team looking at this kind of map... It will be unusable, since they won't be able to search "where that node is" and will go crazy... "Where's the XXXXXX node? They're the 'monitoring guy' I'm only the 'implement guy'". So, they will have to look at the map and locate the Problem node... If the map could allow the "browser search function" will be much more usable...
Unfortunately, I think one is actually impossible. It's all one image. If you know the name of the circuit, why wouldn't you just use Preview Mode, and type that name into the filter box though?
Livio Zanol wrote: Since It's not possible I need to have a cleared an easy to analyse Network Map, so the HelpSupport Team can analyse correctly the map.
If what they are looking for is local over-use, then you can get that with some careful SCALE design. Make sure that the problem lines are the only ones that show up in red, for example. We use this where I work - 99-100 ONLY is in red, and everything else is a gradient SCALE. The BANDWIDTH is set to what they pay for, so we can see who needs a sales call :-) That way, you can see those kinds of problems from the thumbnail, even.

As long as the INFOURL lines are correct, you don't even really need to be able to see the map that clearly. Just click on the red.

However, if that's all you need, then THold will solve that problem better than Weathermap.

Maybe you need to explain what analysis they do a little more?

The other thing to consider is maybe a not fully-geographically-accurate map. Many cities subway maps work fine this way, for example. I know of one other user who has a gigantic map of his country-wide network because they decided to do it onto a geographical map, too. If the nodes are named for the towns/POPs and the nodes are in roughly the right part of the map, then the person reading the map should probably know where the town is.
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!)
Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Post by Livio Zanol »

Partial Solution Found:

Well,

After some research we've decided to make a little modification on the weathermap, so that the program writes the percentage of all links processed in a text file.

After that, the developer made a page in PHP that reads that percentage and fill a polygon according to the district region. After that, was just adding the overlib and the names... simple as that...


Checkout a Screenshot:

Image
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Livio Zanol wrote:Partial Solution Found:

Well,

After some research we've decided to make a little modification on the weathermap, so that the program writes the percentage of all links processed in a text file.

After that, the developer made a page in PHP that reads that percentage and fill a polygon according to the district region. After that, was just adding the overlib and the names... simple as that...

Checkout a Screenshot:

Image
Hey, that's nice! :-)

I wonder if there's a way to make it easier... if nodes could be poly-point-lists? That would probably never be supported by the editor though (at least editing the shapes).

It feels like there should be some mid-way part here that the new weathermap plugin stuff would help with. Ah well.
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!)
Livio Zanol
Posts: 37
Joined: Thu Feb 23, 2006 5:59 pm

Post by Livio Zanol »

In fact it's not so dificult... We have made this by getting the coordinates with the map creator (Image in corel format).

But you could have a look at the V13 netmap (wich has a link in your page). If I can remeber, the editor that this guy has developed can map the image region by colors diferences, wich will make the process quite simple.

Maybe in future we'll modify the php weathermap editor code as well as weathermap.php code, so that we can handle this kind of weathermap. If you are Interested, after doing this we can send you the modified code, so you can analyse if you wanna have this possibility on your weathermap...

cheers :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest