[INFO] Show off your Weathermaps.

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
User avatar
trik
Posts: 12
Joined: Mon Sep 21, 2009 2:21 pm

Post by trik »

Hello,

This is my first map.
Thank for this wonderful plugin !
Attachments
first map
first map
screen.jpg (177.06 KiB) Viewed 19959 times
Debian 5.0.3 / Php 5.2.6
Cacti 0.8.7e / Spine 0.8.7e
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Ignore this.... I see what I did in my config.

cjlove72 wrote:Hi,

You use the ICON parameter, without a LABEL (so the actual value isn't displayed) and in conjunction with a SCALE that colours the icon depending on it's status, e.g.

SCALE IFSTATUS 0 1.5 0 255 0 Up
SCALE IFSTATUS 1.5 2.5 255 0 0 Down

NODE NODE1_STATUS
USESCALE IFSTATUS
ICON 15 15 round
TARGET gauge:/cacti-0.8.7c/rra/node1.rrd:int_status:-

Cheers,

Chris
Shouldn't the color scale be the other way if 1 is up & 2 is down?
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
juliop
Cacti User
Posts: 55
Joined: Fri Dec 11, 2009 7:40 am
Location: Argentina

Post by juliop »

Based on weahtermaps i had saw here :D . I have work to do on it. Hope u like it. Suggestion are really welcome!
Attachments
redd.JPG
redd.JPG (213.35 KiB) Viewed 18676 times
Leathon
Posts: 9
Joined: Wed Nov 11, 2009 7:31 am
Location: The Netherlands

Post by Leathon »

Oke, want to show off with the graphical results of my Cacti project. Im showing you one of the weathermaps i've made and will explain a few things about it.

The first image is the default overview of the weathermap. I've made these images myself, and the globes in the images will change if the state of the devices changes.

In this image, you can see what happens if i hold my mouse over one of the devices. The screen with SNMP data (written by MGB) will pop-up and show live information about the device. (Link to the topic)

The second image, is the tumbnail view of the weathermap. We have the weathermaps changing the background color when a device in the weathermap goes down. This displays how the background changes. (Link to the topic)

Maybe it will inspire other people for their weathermaps.

Greetings, Leathon
Attachments
Tumbnail.JPG
Tumbnail.JPG (16.34 KiB) Viewed 18635 times
Weathermap.JPG
Weathermap.JPG (194.08 KiB) Viewed 18635 times
Lidberg
Posts: 6
Joined: Thu Dec 03, 2009 2:20 pm

Here's my contribution

Post by Lidberg »

Two maps for for switch port status. The other is for LAN traffic.
Attachments
Switch port status for our edge switches
Switch port status for our edge switches
roslab1.png (60.01 KiB) Viewed 18295 times
Switch port status for 6509 switches.
Switch port status for 6509 switches.
roslab2.png (77.5 KiB) Viewed 18295 times
LAN traffic. This is only one segment. We have many more labs than just this one.
LAN traffic. This is only one segment. We have many more labs than just this one.
roslab3.png (106.7 KiB) Viewed 18295 times
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

wow lidberg that must've took a long time to setup.
http://www.krypt.com/
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

zeki wrote:wow lidberg that must've took a long time to setup.
It's not that hard to make some perl/awk/etc to generate grids of nodes like that - that's what I did for my big switch maps, anyway.
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!)
Lidberg
Posts: 6
Joined: Thu Dec 03, 2009 2:20 pm

Post by Lidberg »

I used an Excel spreadsheet with the coordinates on it and just filled in the port values manually. If you use formulas all you have to do is fill in the first port and the rest fall in place. Still, it took me many hours to do. Lots of trial and error, especially to get the ports exactly where I want them.

Plus, working with images in Cacti is kind of confusing. Normally, 0,0 is the top left corner of an image. With Cacti, 0,0 is the center of the image, so anything left of that is a negative number. So the top left corner of an image that is 200x200 pixels would be -100, -100. IMO, it's a pain in the ass.

.:Christian

P.S. I don't know perl or awk so that's why it probably took me a lot longer than normal. That and the fact that different types of switches number their ports differently. Cisco 6509's are numbered 1-48 (or 1-16 for fibre blades), but the blades are not in order. 3560's and 3750's are sequentially numbered but Cisco 3550's jump all over the place.
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

Real world example of network traffic. Line width shows link speed.
Attachments
traffic_demo.PNG
traffic_demo.PNG (230.27 KiB) Viewed 17263 times
Lidberg
Posts: 6
Joined: Thu Dec 03, 2009 2:20 pm

Post by Lidberg »

Some of you had requested the images I used in the map. I've included all the Cisco switches (3550, 3560, 3750, 6504, 6509, 6513) and all of the ports (red, yellow, and green for copper and fibre).

.:Christian
Attachments
Cacti Images.rar
(255.32 KiB) Downloaded 1091 times
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Nice!!! Thanks man!!
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

DMVPN

Post by JorisFRST »

Hi,

this is a weathermap of our EU DMVPN routers and the US headend router, the pictures change depending on the status of the Tu1 interface (up or down, unavailable)

The link speeds are of the routers outside interface to the internet.

It's not as pretty as most, but it helps the support team.

Joris.
Attachments
dmvpnstatus.png
dmvpnstatus.png (173.21 KiB) Viewed 16819 times
dionvdc
Posts: 46
Joined: Tue Feb 16, 2010 3:54 pm

Post by dionvdc »

My turn with images that represent one of our storage layout.
Setup used: cacti 0.8.7e, weather-map 0.97, monitor and thold.

Link have an infourl and overlib as do the switch endpoints, some links have an in/out infourl and overlib defined. Set link_bulge is used.
The monitor is to be used as an animated weathermap infourl/ overlib, but this is still an WIP.

The first two image configfiles are made with an xls file using previous posted file for the dashboard creation as example. The last two where created by hand.
The config (especially the radial images) files contain almost no Configuration Directives except many set hint values as almost everything is templated and defined in an include files.

The last two images use the same include file mentioned above for templates and a seperate one for the base layout. The base switches have an overlib and infourl to the radial images
Attachments
base switches and storage
base switches and storage
ca5917cf72d71e0fbc4a.png (94.13 KiB) Viewed 16608 times
base switches and blades
base switches and blades
278e16e2cc0b77c297f2.png (103.04 KiB) Viewed 16608 times
radial image of an bladeswitch
radial image of an bladeswitch
2fe90ee4c5343b17f350.png (28.38 KiB) Viewed 16608 times
radial image of an baseswitch
radial image of an baseswitch
94a520a1312818b64773.png (80.01 KiB) Viewed 16608 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

dionvdc wrote: The config (especially the radial images) files contain almost no Configuration Directives except many set hint values as almost everything is templated and defined in an include files.
Just curious - did you actually use the relative polar coordinates stuff in weathermap, or calculate the radial positions externally?
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!)
dionvdc
Posts: 46
Joined: Tue Feb 16, 2010 3:54 pm

Post by dionvdc »

snippet from one of the 16 port switches

Code: Select all

# Generated by Cacti Weathermap.xls
INCLUDE configs/_global.conf
TITLE SW002 detail
WIDTH 433
HEIGHT 430
TIMEPOS 5 427
KEYSTYLE DEFAULT horizontal 320
KEYPOS FCPORT 350 0 Port State
KEYSTYLE FCPORT tags
# End of global section
# regular NODEs:
NODE HIST
      TEMPLATE HISTIMG
      POSITION 10 55
      SET weather_id
NODE SW002
        TEMPLATE DEV-monitor
        LABELOFFSET 0 -10
        POSITION 216 240
        SET host_id 2
        SET host_icon B300
NODE SW002_1
        TEMPLATE FCPORT
        LABEL 1
        POSITION SW002 11r180
        SET host_id 2
        SET state_rrd_id 1284
        SET graph_id 7
NODE SW002_2
        TEMPLATE FCPORT
        LABEL 2
        POSITION SW002 34r180
        SET host_id 2
        SET state_rrd_id 1285
        SET graph_id 8
++++
LINK SW002-SW002_1
        TEMPLATE FC2G-single
        NODES SW002:11r65 SW002_1
        SET rrd_id 14
        SET graph_id 7
        SET host_id 2
LINK SW002-SW002_2
        TEMPLATE FC2G-single
        NODES SW002:34r65 SW002_2
        SET rrd_id 15
        SET graph_id 8
        SET host_id 2
Degree's are caclculated within the excel sheet and used for links and nodes.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests