[INFO] Show off your Weathermaps.

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
feds
Posts: 12
Joined: Wed Jan 07, 2009 6:22 pm

Post by feds »

We currently use weathermap to so us which ports are operator status up and down.
Attachments
weathermap.jpg
weathermap.jpg (123.2 KiB) Viewed 20433 times
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Our Simple Network map
Attachments
Switch 1
Switch 1
8dd19205fc002eb587e4.png (22.39 KiB) Viewed 20199 times
Our Simple Network map
Our Simple Network map
net.png (95.1 KiB) Viewed 20321 times
Last edited by zoemu on Mon Sep 14, 2009 2:39 pm, edited 1 time in total.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

feds wrote:We currently use weather-map to so us which ports are operator status up and down.
Sorry if I'm too bold, But I'm trying to Implement something similar, and I would like to know if you have an script or a program, and how the status is retrieved and stored....

Thank you for your Guidance


LA
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

zoemu wrote:
feds wrote:We currently use weather-map to so us which ports are operator status up and down.
Sorry if I'm too bold, But I'm trying to Implement something similar, and I would like to know if you have an script or a program, and how the status is retrieved and stored....

Thank you for your Guidance


LA
If you go back a couple of posts before his, you'll see that I posted some brief instructions on how to accomplish that.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
cjlove72
Posts: 11
Joined: Wed Feb 04, 2009 8:46 pm

SAN Infrastructure Dashboard weathermap

Post by cjlove72 »

Here's my latest weathermap which provides a 'dashboard' of our SAN Infrastructure.

This is based on our Cisco MDS-9509 SAN Directors to provide read/write SAN throughput, port status and VSAN membership of all ports belonging to our FC and SATA storage arrays, ISLs, Backup Servers, Tape Libraries etc.

The 'Dashboard table' is actually an Excel table, saved as a JPG and used as the Weathermaps background. I then just overlay the various nodes on the weathermap to fit into the table fields.

The config for this weathermap is over 4000 lines of code, but I have all the node info (e.g. names, positions, graph ids, rrd ids etc) in an excel spreadsheet and then use various simple formulas in excel to generate the actual code...so adding a new line (or ten!) only takes 5 minutes to add it into the excel spreadsheet, then a simple copy and paste into the weathermap config and it'll all done :-)

I've said it before and I'll say it again....I *LOVE* this product...great work guys.

Cheers,

Chris
Attachments
weathermap1.JPG
weathermap1.JPG (226.37 KiB) Viewed 20193 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Re: SAN Infrastructure Dashboard weathermap

Post by mcutting »

cjlove72 wrote:Here's my latest weathermap which provides a 'dashboard' of our SAN Infrastructure.

This is based on our Cisco MDS-9509 SAN Directors to provide read/write SAN throughput, port status and VSAN membership of all ports belonging to our FC and SATA storage arrays, ISLs, Backup Servers, Tape Libraries etc.

The 'Dashboard table' is actually an Excel table, saved as a JPG and used as the Weathermaps background. I then just overlay the various nodes on the weathermap to fit into the table fields.

The config for this weathermap is over 4000 lines of code, but I have all the node info (e.g. names, positions, graph ids, rrd ids etc) in an excel spreadsheet and then use various simple formulas in excel to generate the actual code...so adding a new line (or ten!) only takes 5 minutes to add it into the excel spreadsheet, then a simple copy and paste into the weathermap config and it'll all done :-)

I've said it before and I'll say it again....I *LOVE* this product...great work guys.

Cheers,

Chris
Chris,

I use the *EXACT* same method of fleshing out my Dashboard in Excel, saving it as a JPG, and then overlaying WMAP data in it. I would be *very* interested in your spreadsheet with formulas, if you are willing to post ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
cjlove72
Posts: 11
Joined: Wed Feb 04, 2009 8:46 pm

Post by cjlove72 »

No worries...happy to contribute what I've learned so far!

I've attached a sample spreadsheet with a cutdown version of the Dashboard that I'm using at the moment.

There are 4 sheets as follows:-


SAN Table
This is the table that I use to create a JPEG from...then copy it down to my Cacti server and use this as a background for the Weathermap.

Switches
This is a table containing RRD and Graph IDs for both Throughput and Status data sources (they are currently seperate, although I'm planning to merge them at some point).

SAN Table details
This is where I specify each of the ports that I want to be displayed on the dashboard.

For each port, I define a Read Traffic node, Write Traffic Node, VSAN node and Status node. You specify the switch name and port in columns A and B and it performs a VLOOKUP from the Switches worksheet to populate the correct Graph/RRD ID on the other columns (e.g. Columns G and H).

I specify the absolute position of the uppermost node in each of the tables and the other nodes are positioned relative to this, which makes it easy to add new rows to the tables.

So columns A to P supply all the info required for the Weathermap config. Columns T to BC then create the actual Weathermap code, although this isn't in a format that's easily usable...

SAN Table conf
This worksheet builds up the Weathermap config file. Cells A1 to A85 are static and define my SCALEs, default NODE and LINK parameters etc.

Cells A86 and below use the INDEX function to pull the code from the SAN Table details worksheet. Once there is no more code to be generated, the value in column A is 0...so the code from A1 to the last value (in the attached workbook it's A1:A805) contains the entire code required for the Weathermap. Just copy and paste this into a new (or over an existing) config file and the next time the poller runs it'll get created.

The beauty of this is that to add new entries into the Dashboard only requires adding new values into Columns A to P in the SAN Table details worksheet. The code is then generated in columns T:BC and automatically populated into column A in the SAN Table Conf worksheet.

Copy and paste this into your Weathermap and voila...updated dashboard!

I also use exactly the same process for generating my view of our Cisco MDS-9509 SAN Directors, except the background is a Visio diagram using the official Cisco MDS stencils, so we can specify the exact configuration of the switching modules.

Hope you find this useful...let me know if you make any improvements to it :-)

Cheers,

Chris
Attachments
Cacti Weathermap.xls
(1.03 MiB) Downloaded 1246 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I've just written a chunk of perl to generate weathermap config sections for these "port-map" style maps. It uses the Cacti database to assign the correct graph as a popup for each port, and uses Weathermap's SNMP data source to query the port status directly, so you don't need to modify interface.xml

It's not exactly plug&play right now, but I'll clean it up and post it. It makes a nice demo of templates and a few other things, too.
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!)
mgupta
Posts: 16
Joined: Thu Aug 13, 2009 4:29 pm
Location: Canada

Yet Another Weathermap

Post by mgupta »

Yet another w-map! Love the plugin
Attachments
map.png
map.png (76.71 KiB) Viewed 20043 times
Lawrance
Posts: 3
Joined: Sun Sep 20, 2009 11:18 am
Location: Taiwan

Post by Lawrance »

how can I draw a rectangle-free node, like a circular node that can represent a status.
Attachments
weathermap1_117.jpg
weathermap1_117.jpg (20.15 KiB) Viewed 19984 times
cjlove72
Posts: 11
Joined: Wed Feb 04, 2009 8:46 pm

Post by cjlove72 »

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
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

And (just to fill in the last bit), 'round' is one of the built-in 'artificial' icons - along with box, rbox and others. Check the ICON section in the manual.
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!)
BorisL
Cacti User
Posts: 131
Joined: Sat Mar 31, 2007 9:21 am
Contact:

Post by BorisL »

Sample Datacenter weathermap.
Links between routers (actual interface names, rrd, etc) are found automaticall using simple pre-plugin.

User write

Code: Select all

LINK nodeXXX-nodeYYY
        NODES nodeXXX nodeYYY
Everything else is done using TEMPLATES and plugin mentioned above.
Attachments
nmsample.PNG
nmsample.PNG (111.12 KiB) Viewed 19724 times
Banty Rooster
Posts: 2
Joined: Wed Sep 30, 2009 8:17 am

Post by Banty Rooster »

My boss accused me of being obsessed so I sent him a link to feds post above.

This one of our core routers. Putting an actual link to each building would've been cluttered and hard to read with 70+ arrows going every which way. I'm still trying to come up with a good way to dynamically build an index for the interface mapping. As it is now you have to hover over the link to see which building it goes to.

All of the ports are sub nodes to the module node so the modules can be moved around and copied with ease if necessary. This one took me about 8 hours to complete. The other core 6500 took me under an hour and a half.

Oh, and the idiot lights on the fan don't work.... yet.
Attachments
core6500.PNG
core6500.PNG (130.08 KiB) Viewed 19623 times
DLNoah
Cacti User
Posts: 119
Joined: Wed Jun 20, 2007 11:27 pm

Post by DLNoah »

I'm a bit of a "information at my fingertips" freak, so I wanted something that would give me a detailed dashboard of all of my WISP access point information. So, by virtue of the dsstats and snmp datasources, and some creative abuse of the static: target for comparing signals, I came up with this.

The signal/cur column is color coded based on the amount that the cur signal is worse than the average signal. Less than 8dB worse -> green, 8-12dB worse -> yellow, more than 12dB worse -> red. If the current signal is better than the average signal, I'm forcing that to clip to 0 (since scales can't be below 0 right now). Very kludgy change in the code though, and I've heard that 0.97 will allow scales to go below zero, so I'm looking forward to getting to un-break the code.
Attachments
wmap_dashboard.jpg
wmap_dashboard.jpg (111.11 KiB) Viewed 19419 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests