[INFO] Show off your Weathermaps.

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
juliop
Cacti User
Posts: 55
Joined: Fri Dec 11, 2009 7:40 am
Location: Argentina

Re: [INFO] Show off your Weathermaps.

Post by juliop »

Djnono17, how do you put your cacti graphs in your weathermap? its a node?

P.S: nice map.
djnono17
Posts: 21
Joined: Tue Aug 18, 2009 1:44 am

Re: [INFO] Show off your Weathermaps.

Post by djnono17 »

juliop wrote:Djnono17, how do you put your cacti graphs in your weathermap? its a node?

P.S: nice map.

I have a script launched by crontab which prepare some data, create the config files and download the graphs.

Code: Select all

wget -O plugins/weathermap/temp/sqls_q.png "http://192.168.10.231/cacti/graph_image.php?local_graph_id=593&rra_id=0&graph_height=80&graph_width=250&graph_nolegend=true&view_type=tree"
then the weathermap just use that as an image

Code: Select all

NODE graph_sqls_q
 POSITION 1060 630
 ICON temp/sqls_q.png
 INFOURL {map:cacti_url}graph.php?action=view&rra_id=all&local_graph_id=593
Ps : you could also use rrdtools to generate the graphs directly without calling on cacti, you may want to check that :http://wotsit.thingy.com/haj/cacti/rrd-stripgraph.html
juliop
Cacti User
Posts: 55
Joined: Fri Dec 11, 2009 7:40 am
Location: Argentina

Re: [INFO] Show off your Weathermaps.

Post by juliop »

Thanks you very much!
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: [INFO] Show off your Weathermaps.

Post by Atreides »

EBrander wrote:Ethernet and FC example
weathermap_example.jpg
Hello, dont know if you're still around, if not I'm hoping someone else can answer my question.
How did you made the faded links between devices?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: [INFO] Show off your Weathermaps.

Post by Howie »

Atreides wrote:
EBrander wrote:Ethernet and FC example
weathermap_example.jpg
Hello, dont know if you're still around, if not I'm hoping someone else can answer my question.
How did you made the faded links between devices?
Simple... Use faded colours for the scale :-) You don't have to use bright colours.
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!)
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: [INFO] Show off your Weathermaps.

Post by Atreides »

Thanks Howie.
Quick question, the twoway linkstyle doesnt seem to work for me.
Below is part of the config:

LINK node09331-rd
LINKSTYLE twoway
VIASTYLE angled
NODES node09331 rd
VIA 327 519

@ Howie : I want to have 2 lines(links) between 2 nodes.
Attachments
weathermap test.JPG
weathermap test.JPG (18.78 KiB) Viewed 9084 times
Last edited by Atreides on Fri Nov 01, 2013 2:43 am, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: [INFO] Show off your Weathermaps.

Post by Howie »

[quote="Atreides"]Thanks Howie.
Quick question, the twoway linkstyle doesnt seem to work for me.

LINKSTYLE twoway is the default style. Exactly as you posted. Please could you open a new topic and we can discuss what you expected :-)
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!)
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: [INFO] Show off your Weathermaps.

Post by Atreides »

Howie : I was trying to make parallel links between 2 nodes :). But I managed to do it reading your example on weathermap site. 'Tho I had to try few offsets before I was able to make 2 perfect parallel links.
Thank you for this "awesome-the-world-would-be-poorer-without-it" plugin.
User avatar
rsanto
Posts: 29
Joined: Thu Jan 24, 2013 12:34 pm

Re: [INFO] Show off your Weathermaps.

Post by rsanto »

where are you getting those cool png???
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: [INFO] Show off your Weathermaps.

Post by Atreides »

New weathermap. What's changed from my last map is that I used two and triple via's and angled viastyle.
Attachments
weathermap-2.jpg
weathermap-2.jpg (342.58 KiB) Viewed 9017 times
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Re: [INFO] Show off your Weathermaps.

Post by ikorzha758 »

My newest creation in Cacti. Firewall map...
It is the second biggest map (in terms of complexity) in our Cacti infrastructure and it only took about 1 month of on/off work to complete. Runtime 3.6sec on latest SVN 626

Features:
All icons/text labels change color depending on UP/DOWN/RECOVERING/DISABLED status in Cacti
Monitoring of all FIREWALLS and Venus management servers.
Tracking of critical parameters such as FW uptime, TOP interfaces, CPU usage and connection statistics.
Creation of this map required a development of customized templates in Cacti to track FAILOVER status of both Checkpoint and CISCO ASA firewalls.
Attachments
map.png
map.png (269.91 KiB) Viewed 8893 times
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: [INFO] Show off your Weathermaps.

Post by Atreides »

Nice one, can you please tell me the font used to render the map? The part with percentages and INSIDE/OUTSIDE, etc.
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Re: [INFO] Show off your Weathermaps.

Post by ikorzha758 »

Here you go:
FONTDEFINE 113 /var/www/html/plugins/weathermap/configs/ArialNarrowBold.ttf 11
FONTDEFINE 112 /var/www/html/plugins/weathermap/configs/ArialNarrowBold.ttf 13

NODE CISCO_FW1-INSIDE
LABEL INSIDE
LABELFONT 112
AICONFILLCOLOR 153 255 153
LABELOUTLINECOLOR none
LABELBGCOLOR none
ICON 93 24 box
POSITION CISCO_FW1 132 0


NODE CISCO_FW1-OUTSIDE
LABEL OUTSIDE
LABELFONT 112
AICONFILLCOLOR 153 255 153
LABELOUTLINECOLOR none
LABELBGCOLOR none
ICON 93 24 box
POSITION CISCO_FW1 224 0


NODE xxx_INSIDE-IN
LABEL {node:this:inpercent:%.1f}%
LABELFONT 113
LABELOUTLINECOLOR none
LABELBGCOLOR none
INFOURL /graph.php?rra_id=all&local_graph_id=31186
OVERLIBGRAPH /graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=31186
ICON 47 25 box
TARGET /var/www/html/rra/xxx.rrd
POSITION xxx-PRI 109 0
MAXVALUE 1000M

NODE zzz_INSIDE_OUT
LABEL {node:this:outpercent:%.1f}%
LABELFONT 113
LABELOUTLINECOLOR none
LABELBGCOLOR none
INFOURL /graph.php?rra_id=all&local_graph_id=31186
OVERLIBGRAPH /graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=31186
ICON 47 25 box
TARGET /var/www/html/rra/zzz_31965.rrd
USESCALE DEFAULT out percent
POSITION zzz-PRI 155 0
MAXVALUE 1000M
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Re: [INFO] Show off your Weathermaps.

Post by ikorzha758 »

Another good example of weathermap capabilities. This map took about a 1.5 month to create.. It was a very tedious work
Attachments
weathermap.png
weathermap.png (408.94 KiB) Viewed 8855 times
donglee
Posts: 24
Joined: Thu Dec 05, 2013 7:54 pm

Re: [INFO] Show off your Weathermaps.

Post by donglee »

Wow,it is really very amazing.I have a problem about this,when my device become more and more ,the numbers on the arrow always overlap,any suggestions about this?
Regards,
Dong

Network Engineer
http://www.3Anetwork.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest