Title chopping off

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

Moderators: Developers, Moderators

Post Reply
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title chopping off

Post by CharlieB. »

I am graphing a bunch of sub-interfaces on a Cisco frame serial interface. We have a detailed description of the interface in the IOS which comes over as If_Alias. When i chose the device and select add Graphs it enumerates all interfaces properly and lists the full description in the If Alias column. But, when i edit the graphs the Title is chopped of at about 30 charaters when i add the If_Alias. I am not sure what is going on?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

try to increase this : Settings -> Visual -> Maximum Title Length

("The maximum number of characters to display for a graph title").
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title still chopping off

Post by CharlieB. »

I adjusted it and it had no effect. I don't think that is it. When i view from the device as below you can see the entire Alias description but look @ the Graph view. It continues to clip it. What is the difference? does it re-query the Alias everytime?
Attachments
cacti alias issue.JPG
cacti alias issue.JPG (138.25 KiB) Viewed 13128 times
cacti alias issue 2.JPG
cacti alias issue 2.JPG (145.33 KiB) Viewed 13128 times
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

It appears the name of the graph template shows the truncated name you want to use. The title of the graph is defined there. Show us that graph template, please.
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title clipping still

Post by CharlieB. »

I think i am lost. :-( I am using the built-in standard templates to create these graphs see attached. I edited the graph under Graph Management in an attempt to try and get it to start displaying the Alias as i wanted.
Attachments
cacti alias issue 3.JPG
cacti alias issue 3.JPG (151.94 KiB) Viewed 13120 times
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

That looks OK. Please show us the contents of <yourhost>/cacti/settings.php?tab=visual
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title chop

Post by CharlieB. »

Here it is. I bumped up the title length from the original 80 till 100.
Attachments
cacti visual set.JPG
cacti visual set.JPG (150.36 KiB) Viewed 13113 times
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title chopped

Post by CharlieB. »

All of my other graphs have the standard Titles which are much longer.
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

Try increasing the "Maximum Field Length" in the "Data Queries" section to 60 characters.

Also, I suggest you specify the font paths explicitly to include a TrueType font (I've encountered character sizing issues without them).
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Title chopping off

Post by CharlieB. »

Yes! That did it. I had to delete the graphs and recreate them but they are displaying the full interface Alias now. Thanks.
dtpiller
Posts: 2
Joined: Mon Oct 17, 2005 8:14 am
Location: Brussels, Belgium

Post by dtpiller »

Hey i had the same problem but i didnt have to recreate the graphs to get the longer aliases appear on my title. You first have to ajust your values in Settings - Visual - Maximum Title Length and Maximum Field Length. Then i went to Graph Templates and included |query_ifAlias|in Graph Template Title and voila! i got my complete aliases on the graph title.
User avatar
MrBr
Posts: 44
Joined: Thu Sep 24, 2009 10:13 am

Re: Title chopping off

Post by MrBr »

After adjusting Visual tab values as mentioned above, I've used poller_graphs_reapply_names.php script to regenerate graphs names.
No need to recreate the graphs
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests