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
Dynamical node description?
Moderators: Developers, Moderators
Dynamical node description?
- Attachments
-
- screenshot.JPG (122.3 KiB) Viewed 2633 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It's not possible currently. You'd need to have some other way to fetch the ifAlias info.
You can use something like
to use that, but you need to have defined it first with
or similar, in each node. Weathermap can't help with that at the moment.
You can use something like
Code: Select all
LABEL {node:this:ifAlias}
Code: Select all
SET ifAlias Gi0/1
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.
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!)
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!)
Who is online
Users browsing this forum: No registered users and 0 guests