Making port lists using “port_bits” Widget. The built in choices get me close. however, looking for more options for the “Widget title” box.
Would really like to parse the description field on the interface and grab fields from that
ex. Cisco Router Interface & Description
interface gigabitethernet0/0/0
description ;PaloAlto;CA;1G;ATT;Internet;paloaltortr1;gi0/0/0;*;
Existing “Widget title” using “Automatic Title” ( black title bar at top of graph)
gives me the following:
paloaltortr1 / gi0/0/0 / port_bits |
---|
Looking for a way to parse and use selected fields for the “Widget title”
I use semi-colon as a field separator, so $7, $8, $5, $4, $6, $2, $3 for the
“Widget title” would work
Desired “Widget title” ( black title bar at top of graph).
paloaltortr1 / gi0/0/0 / ATT 1G Internet / PaloAlto CA |
---|
It’s pretty close to the “Automatic Title” option, but adds valuable info from the description field.
Could be a mix of existing info, device-name / interface-name (current default) combined
with fields from the interface description field.
-or-
Just fields from the interface $x from description field.
Other option might be:
Is there a %Variable list I can use in place of the “Automatic Title” ?
%ifAlias
%ifDescr
etc…
etc…
All help is appreciated
Chris