Discussion:
[AFMUG] Interface Descriptions in Cacti
Tyler Treat
2014-10-08 18:34:32 UTC
Permalink
In Cacti, is there a way to make the Cisco interface descriptions show up on the corresponding graph?

All I currently get is the Interface name, which gets confusing at times.



Thanks

Tyler
George Skorup (Cyber Broadcasting)
2014-10-08 18:49:30 UTC
Permalink
I think you can add |query_ifDescr| or |query_ifAlias| to the graph
title. I know the MikroTik interface comment shows up in SNMP at
ifAlias. No idea on Cisco.

If you change the data query template, I think it will only make new
graphs that way.

On 10/8/2014 1:34 PM, Tyler Treat via Af wrote:
>
>
> In Cacti, is there a way to make the Cisco interface descriptions show
> up on the corresponding graph?
>
> All I currently get is the Interface name, which gets confusing at times.
>
>
>
> Thanks
>
> Tyler
>
Steve Utick
2014-10-08 18:51:58 UTC
Permalink
Yep. If you go into the graphs for the device, and change the "Title"
section to say this: |host_description| - Traffic - |query_ifName| -
|query_ifAlias| That will pull the data from the description on the port
into the graph.

As George said also, you can change the data query templates to put that
in by default as well.



On Wed, Oct 8, 2014 at 12:34 PM, Tyler Treat via Af <***@afmug.com> wrote:

>
> In Cacti, is there a way to make the Cisco interface descriptions show
> up on the corresponding graph?
>
> All I currently get is the Interface name, which gets confusing at times.
>
>
>
> Thanks
>
> Tyler
>
Eric Kuhnke
2014-10-08 21:08:46 UTC
Permalink
Better to do it in the graph template which you're using for the interface
traffic chart on the device, rather than per-device, unless you want to do
a lot of manual hand editing. Edit the graph template and then save it,
all interfaces that use that template should then automatically update
htemselves.

On Wed, Oct 8, 2014 at 11:52 AM, Steve Utick via Af <***@afmug.com> wrote:

> Yep. If you go into the graphs for the device, and change the "Title"
> section to say this: |host_description| - Traffic - |query_ifName| -
> |query_ifAlias| That will pull the data from the description on the port
> into the graph.
>
> As George said also, you can change the data query templates to put that
> in by default as well.
>
>
>
> On Wed, Oct 8, 2014 at 12:34 PM, Tyler Treat via Af <***@afmug.com> wrote:
>
>>
>> In Cacti, is there a way to make the Cisco interface descriptions show
>> up on the corresponding graph?
>>
>> All I currently get is the Interface name, which gets confusing at times.
>>
>>
>>
>> Thanks
>>
>> Tyler
>>
>
>
Steve Utick
2014-10-08 21:49:27 UTC
Permalink
I ran into an issue with that showing some bizarre stuff though on like
PTP800 radios, etc. that use standard SNMP interface stats, but don't have
an ifAlias on them. I did something so that it was automatically
propagated on our Cisco switches and routers, but can't for the life of me
remember for sure where I did the change.


On Wed, Oct 8, 2014 at 3:08 PM, Eric Kuhnke via Af <***@afmug.com> wrote:

> Better to do it in the graph template which you're using for the interface
> traffic chart on the device, rather than per-device, unless you want to do
> a lot of manual hand editing. Edit the graph template and then save it,
> all interfaces that use that template should then automatically update
> htemselves.
>
> On Wed, Oct 8, 2014 at 11:52 AM, Steve Utick via Af <***@afmug.com> wrote:
>
>> Yep. If you go into the graphs for the device, and change the "Title"
>> section to say this: |host_description| - Traffic - |query_ifName| -
>> |query_ifAlias| That will pull the data from the description on the port
>> into the graph.
>>
>> As George said also, you can change the data query templates to put that
>> in by default as well.
>>
>>
>>
>> On Wed, Oct 8, 2014 at 12:34 PM, Tyler Treat via Af <***@afmug.com> wrote:
>>
>>>
>>> In Cacti, is there a way to make the Cisco interface descriptions show
>>> up on the corresponding graph?
>>>
>>> All I currently get is the Interface name, which gets confusing at times.
>>>
>>>
>>>
>>> Thanks
>>>
>>> Tyler
>>>
>>
>>
>
Charles Boening
2014-10-08 22:38:10 UTC
Permalink
Tyler,

Try this.

Console->Data Queries->SNMP – Interface Statistics->(Pick one to modify. E.g. in/out Bits)

Add a new “Field Name” called “title” (like the rest) and make it like my top one below (or whatever you want). After creation it will go to the bottom so you’ll need to use the blue up arrow to move it to the top.

After making the change you go to “Graph Management”, pick some graphs and choose the action “Reapply Suggested Names”.

[cid:***@01CFE30D.E7480310]


I think Cacti tries to be smart about how it picks titles for graphs. Maybe something based on what data is returned from the device.


Charlie


__________________________________

Charles Boening
Network Manager
800-858-2399 | Office
***@calore.net<mailto:***@calore.net>

www.cot.net<http://www.cot.net/> | Find us on Facebook<https://www.facebook.com/pages/Cal-Ore/205066716227707>
__________________________________
Cal-Ore | Real. Local. Trusted. Professional.

From: Af [mailto:af-***@afmug.com] On Behalf Of Steve Utick via Af
Sent: Wednesday, October 8, 2014 2:50 PM
To: ***@afmug.com
Subject: Re: [AFMUG] Interface Descriptions in Cacti

I ran into an issue with that showing some bizarre stuff though on like PTP800 radios, etc. that use standard SNMP interface stats, but don't have an ifAlias on them. I did something so that it was automatically propagated on our Cisco switches and routers, but can't for the life of me remember for sure where I did the change.

On Wed, Oct 8, 2014 at 3:08 PM, Eric Kuhnke via Af <***@afmug.com<mailto:***@afmug.com>> wrote:
Better to do it in the graph template which you're using for the interface traffic chart on the device, rather than per-device, unless you want to do a lot of manual hand editing. Edit the graph template and then save it, all interfaces that use that template should then automatically update htemselves.

On Wed, Oct 8, 2014 at 11:52 AM, Steve Utick via Af <***@afmug.com<mailto:***@afmug.com>> wrote:
Yep. If you go into the graphs for the device, and change the "Title" section to say this: |host_description| - Traffic - |query_ifName| - |query_ifAlias| That will pull the data from the description on the port into the graph.
As George said also, you can change the data query templates to put that in by default as well.


On Wed, Oct 8, 2014 at 12:34 PM, Tyler Treat via Af <***@afmug.com<mailto:***@afmug.com>> wrote:



In Cacti, is there a way to make the Cisco interface descriptions show up on the corresponding graph?

All I currently get is the Interface name, which gets confusing at times.





Thanks

Tyler
Tyler Treat
2014-10-08 22:41:04 UTC
Permalink
Thanks for all the good suggestions! We'll check it out tomorrow and report back!

TT

___________________________
Mangled by my iPhone.
___________________________

Tyler Treat
Corn Belt Technologies, Inc.

***@cornbelttech.com<mailto:***@cornbelttech.com>
___________________________


On Oct 8, 2014, at 5:38 PM, Charles Boening via Af <***@afmug.com<mailto:***@afmug.com>> wrote:

Tyler,

Try this.

Console->Data Queries->SNMP - Interface Statistics->(Pick one to modify. E.g. in/out Bits)

Add a new "Field Name" called "title" (like the rest) and make it like my top one below (or whatever you want). After creation it will go to the bottom so you'll need to use the blue up arrow to move it to the top.

After making the change you go to "Graph Management", pick some graphs and choose the action "Reapply Suggested Names".

[cid:***@01CFE30D.E7480310]


I think Cacti tries to be smart about how it picks titles for graphs. Maybe something based on what data is returned from the device.


Charlie


__________________________________

Charles Boening
Network Manager
800-858-2399 | Office
***@calore.net<mailto:***@calore.net>

www.cot.net<http://www.cot.net/> | Find us on Facebook<https://www.facebook.com/pages/Cal-Ore/205066716227707>
__________________________________
Cal-Ore | Real. Local. Trusted. Professional.

From: Af [mailto:af-***@afmug.com] On Behalf Of Steve Utick via Af
Sent: Wednesday, October 8, 2014 2:50 PM
To: ***@afmug.com<mailto:***@afmug.com>
Subject: Re: [AFMUG] Interface Descriptions in Cacti

I ran into an issue with that showing some bizarre stuff though on like PTP800 radios, etc. that use standard SNMP interface stats, but don't have an ifAlias on them. I did something so that it was automatically propagated on our Cisco switches and routers, but can't for the life of me remember for sure where I did the change.

On Wed, Oct 8, 2014 at 3:08 PM, Eric Kuhnke via Af <***@afmug.com<mailto:***@afmug.com>> wrote:
Better to do it in the graph template which you're using for the interface traffic chart on the device, rather than per-device, unless you want to do a lot of manual hand editing. Edit the graph template and then save it, all interfaces that use that template should then automatically update htemselves.

On Wed, Oct 8, 2014 at 11:52 AM, Steve Utick via Af <***@afmug.com<mailto:***@afmug.com>> wrote:
Yep. If you go into the graphs for the device, and change the "Title" section to say this: |host_description| - Traffic - |query_ifName| - |query_ifAlias| That will pull the data from the description on the port into the graph.
As George said also, you can change the data query templates to put that in by default as well.


On Wed, Oct 8, 2014 at 12:34 PM, Tyler Treat via Af <***@afmug.com<mailto:***@afmug.com>> wrote:



In Cacti, is there a way to make the Cisco interface descriptions show up on the corresponding graph?

All I currently get is the Interface name, which gets confusing at times.





Thanks

Tyler
Loading...