how to show interface alias

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
arslyzer
Posts: 11
Joined: Wed Nov 30, 2005 3:54 am

how to show interface alias

Post by arslyzer »

Hi,

i need to see the port alias (description) near the port number
for instance:

now i can see only the device name and the slot/interface
i want to see

device name and the slot/interface and port alias (desc..).

thanks in advance
arslyzer
Posts: 11
Joined: Wed Nov 30, 2005 3:54 am

Post by arslyzer »

it's ok...
but now there another problema.
i try to get the ifalias from Catos switches
and the oid is taken the slot/port .1.3.6.1.4.1.9.5.1.4.1.1.4.slot.port
in the ios is taken with ifindex so it's working...
is there a way to fix the interfaces.xml to read also the slot.port
shadomir
Posts: 1
Joined: Thu Dec 15, 2005 11:26 am

Post by shadomir »

Not sure if you've had your question answered already, but if you want to see the description for a port, add this to the end of the "Title" field......
- |query_ifAlias|

Hope this helps.
arslyzer
Posts: 11
Joined: Wed Nov 30, 2005 3:54 am

thanks it's work

Post by arslyzer »

:D
Halfwalker
Posts: 18
Joined: Tue Jan 24, 2006 6:11 pm

Post by Halfwalker »

Hrm - I did something like this, but managed to screw it up. I didn't really want the interface name, just the alias, so I looked at the specific graph, which looks like this :

I replace ifName in the Title field with ifAlias, and it dies on me. Now that graph is completely missing from the Graph Management screen. I can get to it manually by going to another interface and adjusting the URL, which gets me to the second image with the Access Denied msgs.

But it won't let me change things back. The only way I've found so far is to delete the whole device, then re-add it back in, which is not fun.

D.
Attachments
After changing title to IfAlias - causes graph to vanish from list.
After changing title to IfAlias - causes graph to vanish from list.
Disappearing-items-2.png (54.11 KiB) Viewed 2841 times
Before changing Title for interface
Before changing Title for interface
Disappearing-items-1.png (57.66 KiB) Viewed 2840 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The recommended way for Data Queries would be to change title or name by going to Data Queries and then selecting the Graph Template in question. You may add new Suggested Values or change their sequence. So you may define a title/name which includes only |query_ifAlias|.
The Graph Template itself must have Use per Graph Value checked for the title field.
Reinhard
Halfwalker
Posts: 18
Joined: Tue Jan 24, 2006 6:11 pm

Post by Halfwalker »

OK. I had no idea that Data Queries was where to go to change something like that. Is there any way to get the interface back again, now that it's currently Access Denied ?

How about just adding one more item to the graph templete - put the Alias as another comment at the bottom of the graph ? Can I create another graph item of comment type and set the text to |query_ifAlias| ?

I wish there was a map somewhere of how all the various bits and pieces of Cacti fit together. (hint hint :))

D.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

As to your last bit, please have a look at the last link of my signature. Perhaps this will help you out of your problem.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest