no description or ifalias in cacti graphs [solved]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

no description or ifalias in cacti graphs [solved]

Post by majedz »

i'm using cacti 0.8.8e and when i make new graphs it doesn't show the description in the title.
previously, i used a previous version and we had a template that we changed to, then reapplied suggested names, and then go to the template and hit save.
hasn't this been fixed in the new version?
or is it still has to be manually done and if yes how?
Last edited by majedz on Thu Aug 13, 2015 1:04 am, edited 1 time in total.
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: no description or ifalias in cacti graphs

Post by BSOD2600 »

did you already change the default graph title to include the ifalias?

data queries -> SNMP - Interface Statistics -> (select graph) -> Suggested Values ->
Create a new entry for both data and graph templates which uses the format you desire.
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: no description or ifalias in cacti graphs

Post by majedz »

it didn't work:

i have the following in the data template of input output bits 64 counters.

name |host_description| - Traffic - |query_ifIP| - |query_ifName| Move Down Move Up Delete
name |host_description| - Traffic - |query_ifName| Move Down Move Up Delete
name |host_description| - Traffic - |query_ifIP|/|query_ifDescr| Move Down Move Up Delete
name |host_description| - Traffic - |query_ifDescr| Move Down Move Up Delete
name |host_description| - Traffic - |query_ifIP| / |query_ifName| (|query_ifDescr|) Move Down Move Up Delete
rrd_maximum |query_ifSpeed|

in the graph template, i have :

title |host_description| - Traffic - |query_ifName| Move Down Move Up Delete
title |host_description| - Traffic - |query_ifIP| (|query_ifDescr|) Move Down Move Up Delete
title |host_description| - Traffic - |query_ifDescr|/|query_ifIndex| Move Down Move Up Delete
title |host_description| - Traffic - |query_ifIP| / |query_ifName| (|query_ifDescr|)

i got:
title |host_description| - Traffic - |query_ifIP| / |query_ifName| (|query_ifDescr|)
from an older post but it just doesn't work, it just displays the name of the switch - traffic - and the interface name. but no description of the interface.

i even made a new template and just pasted in the new value, and it also doesn't work.
perhaps there is something wrong with
|host_description| - Traffic - |query_ifIP| / |query_ifName| (|query_ifDescr|)
?
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: no description or ifalias in cacti graphs

Post by BSOD2600 »

Why didnt you add an entry to each section that includes |query_ifAlias| ? That is the automatic solution. Then you select the existing graphs/data sources, select 'reapply suggested names' from the action dropdown, and they should all be updated correctly. do not manually edit graph titles for Data Query sourced graphs.
majedz
Posts: 39
Joined: Fri Aug 07, 2015 8:15 am

Re: no description or ifalias in cacti graphs

Post by majedz »

well you could have explained it more,
i got it, i added :

Code: Select all

|host_description| - Traffic - |query_ifName| - |query_ifAlias|
to interface traffic to graph and data and now it works as expected.
the question is:
why is this not added by default?
Seek and you shall find, knock and it shall be opened, cry and you will find comfort, thirst and you shall be watered.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: no description or ifalias in cacti graphs

Post by BSOD2600 »

majedz wrote:the question is:
why is this not added by default?
Because no one has officially requested it be added?

Please file a feature request http://cacti.net/bugs.php
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests