Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 20, 2019 2:11 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 233 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  Next
Author Message
 Post subject:
PostPosted: Fri Aug 28, 2009 5:02 pm 
Offline

Joined: Wed Jan 07, 2009 6:22 pm
Posts: 12
We currently use weathermap to so us which ports are operator status up and down.


Attachments:
weathermap.jpg
weathermap.jpg [ 123.2 KiB | Viewed 17807 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 09, 2009 12:14 pm 
Offline
Cacti User
User avatar

Joined: Fri Jul 10, 2009 1:38 pm
Posts: 281
Location: Toronto, Canada
Our Simple Network map


Attachments:
File comment: Switch 1
8dd19205fc002eb587e4.png
8dd19205fc002eb587e4.png [ 22.39 KiB | Viewed 17573 times ]
File comment: Our Simple Network map
net.png
net.png [ 95.1 KiB | Viewed 17695 times ]


Last edited by zoemu on Mon Sep 14, 2009 2:39 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 10:14 am 
Offline
Cacti User
User avatar

Joined: Fri Jul 10, 2009 1:38 pm
Posts: 281
Location: Toronto, Canada
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 12:41 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Mar 27, 2006 10:35 am
Posts: 711
Location: Psychic Amish Network Administrator
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.

_________________
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - Cactid v
Server Info - Linux 2.6.18-128.1.6.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.2.9
MySQL - 5.0.45-log
RRDTool - 1.3.0
SNMP - 5.3.2.2
PluginsPHP 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


Top
 Profile  
 
 Post subject: SAN Infrastructure Dashboard weathermap
PostPosted: Tue Sep 15, 2009 3:14 am 
Offline

Joined: Wed Feb 04, 2009 8:46 pm
Posts: 11
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 17567 times ]
Top
 Profile  
 
 Post subject: Re: SAN Infrastructure Dashboard weathermap
PostPosted: Tue Sep 15, 2009 5:31 am 
Offline
Cacti Guru User

Joined: Mon Oct 16, 2006 5:57 am
Posts: 1874
Location: United Kingdom
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

_________________
Quote:
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 16, 2009 7:33 pm 
Offline

Joined: Wed Feb 04, 2009 8:46 pm
Posts: 11
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 1114 times
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 9:55 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5318
Location: United Kingdom
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.98 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!)


Top
 Profile  
 
 Post subject: Yet Another Weathermap
PostPosted: Fri Sep 18, 2009 3:21 pm 
Offline

Joined: Thu Aug 13, 2009 4:29 pm
Posts: 16
Location: Canada
Yet another w-map! Love the plugin


Attachments:
map.png
map.png [ 76.71 KiB | Viewed 17417 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 11:23 am 
Offline

Joined: Sun Sep 20, 2009 11:18 am
Posts: 3
Location: Taiwan
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 17358 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 8:03 pm 
Offline

Joined: Wed Feb 04, 2009 8:46 pm
Posts: 11
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 1:00 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5318
Location: United Kingdom
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.98 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!)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 28, 2009 2:27 pm 
Offline
Cacti User

Joined: Sat Mar 31, 2007 9:21 am
Posts: 131
Sample Datacenter weathermap.
Links between routers (actual interface names, rrd, etc) are found automaticall using simple pre-plugin.

User write
Code:
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 17098 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 30, 2009 8:29 am 
Offline

Joined: Wed Sep 30, 2009 8:17 am
Posts: 2
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 16997 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 06, 2009 1:41 pm 
Offline
Cacti User

Joined: Wed Jun 20, 2007 11:27 pm
Posts: 119
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 16793 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 233 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group