[SOLVED]can‘t add the interface description into graph title

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

Moderators: Developers, Moderators

Post Reply
JiangzhouXing
Posts: 4
Joined: Sat Mar 10, 2018 4:11 am

[SOLVED]can‘t add the interface description into graph title

Post by JiangzhouXing »

In CacTi-1.1.36,I want to show the interface description at the graph title,I used the templates is "In/Out Bits (64-bit Counters) with 95th Percentile",
so I following the step like this:
Data Collection -> Data Queries -> In/Out Bits (64-bit Counters) with 95th Percentile -> Suggested Values - Graph,I was just add "title |host_description| - |query_ifName| - |query_ifAlias|",
then I choose the Graphs and apply the "Reapply Suggested Name",But it doesn't effected。
the graph title still show |host_description| - Traffic - |query_ifName|。is that a issue in 1.1.36? or I do the wrong things? snmpwalk information show me interface description corresponding the value is "ifAlias" like this "IF-MIB::ifAlias.30 = STRING: up-link"。Someone can help me?
Kind Regards,
Jiangzhou.Xing
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: [1.1.36]can‘t add the interface description into graph t

Post by netniV »

You graph title comes from the graph template, not the data source.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
JiangzhouXing
Posts: 4
Joined: Sat Mar 10, 2018 4:11 am

Re: [1.1.36]can‘t add the interface description into graph t

Post by JiangzhouXing »

I change the graph templates titles to "|host_description| - |query_ifName| - |query_ifAlias|",but it's not show correct。
Attachments
graph.png
graph.png (20.79 KiB) Viewed 1475 times
Kind Regards,
Jiangzhou.Xing
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: [1.1.36]can‘t add the interface description into graph t

Post by netniV »

This may be related to viewtopic.php?p=271541#p271541

If so, can you add a link to this thread on that github post too.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
JiangzhouXing
Posts: 4
Joined: Sat Mar 10, 2018 4:11 am

Re: [1.1.36]can‘t add the interface description into graph t

Post by JiangzhouXing »

Thanks a lot! Problem has been solved.
Kind Regards,
Jiangzhou.Xing
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests