|
|
| Author |
Message |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Mon Nov 20, 2006 8:04 pm Post subject: Advanced Weathermap |
|
|
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.asp?img=cartografia/mapas/jpg/ES_Divisao_politico_administrativa.jpg&w=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 |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Nov 21, 2006 4:36 am Post subject: Re: Advanced Weathermap |
|
|
| 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... |
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Tue Nov 21, 2006 6:39 am Post subject: Re: Advanced Weathermap |
|
|
| 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. |
|
| Back to top |
|
 |
Ahuber
Joined: 16 Nov 2006 Posts: 44 Location: BC, kootenays
|
Posted: Tue Nov 21, 2006 3:33 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
slander
Joined: 16 Mar 2006 Posts: 31
|
Posted: Wed Nov 22, 2006 4:58 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Fri Nov 24, 2006 4:12 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
SyxPak
Joined: 24 Mar 2006 Posts: 9 Location: Ireland
|
Posted: Fri Nov 24, 2006 7:47 am Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Fri Nov 24, 2006 7:58 am Post subject: |
|
|
| 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: |
NODE submap
ICON output/weathermap_thumb_10.png
INFOURL weathermap-cacti-plugin.php?action=viewmap&id=10
|
or
| Code: |
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. |
|
| Back to top |
|
 |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Fri Nov 24, 2006 12:41 pm Post subject: |
|
|
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) |
|
| Back to top |
|
 |
slander
Joined: 16 Mar 2006 Posts: 31
|
Posted: Sat Nov 25, 2006 11:37 am Post subject: |
|
|
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! |
|
| Back to top |
|
 |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Sat Nov 25, 2006 10:26 pm Post subject: |
|
|
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.
 |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Sun Nov 26, 2006 5:45 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Tue Mar 20, 2007 1:40 pm Post subject: |
|
|
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:
 |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Mar 20, 2007 1:46 pm Post subject: |
|
|
| 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:
 |
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. |
|
| Back to top |
|
 |
Livio Zanol
Joined: 23 Feb 2006 Posts: 30
|
Posted: Thu Mar 22, 2007 6:47 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|