Dynamical node description?

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
joez
Posts: 34
Joined: Mon Feb 11, 2008 7:03 am

Dynamical node description?

Post by joez »

Ok here is the problem:

I would like to monitor port utilization on some switches. For that reason I chose a picture of the switch as background image and made two nodes for each port, so there will be traffic arrows to show traffic load on each port.

To make the map more usable I would like to name the ports (i.e. nodes) after the devices attached to them. A cool way would be to read ifAlias of that port and automatically assign the value to the nodes label.

I dont know how to do that, somebody can help?

Thanks
Attachments
screenshot.JPG
screenshot.JPG (122.3 KiB) Viewed 2633 times
joez
Posts: 34
Joined: Mon Feb 11, 2008 7:03 am

Post by joez »

Hmm nobody knows anything?

Does that mean this is not possible?

Thanks
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

It's not possible currently. You'd need to have some other way to fetch the ifAlias info.

You can use something like

Code: Select all

LABEL {node:this:ifAlias}
to use that, but you need to have defined it first with

Code: Select all

SET ifAlias Gi0/1
or similar, in each node. Weathermap can't help with that at the moment.
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!)
joez
Posts: 34
Joined: Mon Feb 11, 2008 7:03 am

Post by joez »

alright, thank you for the hint.

Having the interface desriptions on top is a little help after all!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I just realised it was you I replied to in the other thread too, but for the sake of other people searching...

You will be able to get ifAlias and ifDescr for interface stats in weathermap 0.96, amongst other things.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests