Aggregate -- Adjusting the field that is sorted in legend

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
skatter
Cacti User
Posts: 153
Joined: Fri Oct 22, 2004 2:55 am
Contact:

Aggregate -- Adjusting the field that is sorted in legend

Post by skatter »

I'm using Aggregate v0.75, and rather than sorting based on the ifIndex/ifName, I'd like to sort by ifAlias -- is that possible? Best practice generally suggests that bonded interfaces be spread across line cards / modules, and that makes the visualization of the legend a challenge.

Here's an example using the prefix "|host_description| - |query_ifName| - |query_ifAlias|":

Current (sorting by ifName):
router1 - ethernet1/1 - Provider 1_1
router1 - ethernet1/2 - Provider 2_1
router1 - ethernet1/3 - Provider 3_1
router1 - ethernet2/1 - Provider 1_2
router1 - ethernet2/2 - Provider 2_2
router2 - ethernet2/3 - Provider 3_2

Preferred (sorting by ifAlias):
router1 - ethernet1/1 - Provider 1_1
router1 - ethernet2/1 - Provider 1_2
router1 - ethernet1/2 - Provider 2_1
router1 - ethernet2/2 - Provider 2_2
router1 - ethernet1/3 - Provider 3_1
router1 - ethernet2/3 - Provider 3_2

Is it possible to adjust the field that is sorted to be ifAlias of ifName?
skatter
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Aggregate -- Adjusting the field that is sorted in legen

Post by gandalf »

The aggregate will be build on the order of graphs displayed when selecting the aggregate feature
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests