I got graph but no legends...

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
orbe
Posts: 3
Joined: Thu May 10, 2007 6:58 am

I got graph but no legends...

Post by orbe »

Hello,

I do have a small problem and I don't know where to look anymore to fix this behavior. All my data are well collected, graphed but all legends are missing in the .png

Here is an example, followed by the debug. I got this problem the default entry inserted during the install.

RRDTool v1.2 / Cacti 8.6j

TiA
Attachments
RRDTool Command:<br /><br />/usr/bin/rrdtool graph - \<br />--imgformat=PNG \<br />--start=-108000 \<br />--end=-300 \<br />--title=&amp;quot;FAS270 - NetApp CPU % Busy&amp;quot; \<br />--base=1000 \<br />--height=120 \<br />--width=500 \<br />--alt-autoscale-max \<br />--lower-limit=0 \<br />--vertical-label=&amp;quot;&amp;quot;
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-108000 \
--end=-300 \
--title=&quot;FAS270 - NetApp CPU % Busy&quot; \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label=&quot;&quot;
graph_image.php.png (11.91 KiB) Viewed 2739 times
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

did you set the path to a TTF file in settings -> paths -> RRDTool Default Font Path ?
[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]
orbe
Posts: 3
Joined: Thu May 10, 2007 6:58 am

Post by orbe »

Salut fm,

Yes I did indeed but I have found only 1 font in my dir, DejaVuSansMono-Roman.ttf. It is maybe the problem. Is it the right default font ?
Mer
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Did you set the full path to that font ?

Also, did you choose "RRDtool 1.2" in the settings ?
[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]
orbe
Posts: 3
Joined: Thu May 10, 2007 6:58 am

Post by orbe »

Yes and yes :(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit the GRAPH tab, then SETTINGS and post a screenshot of THUMBNAIL and TREE MODE sections
Reinhard
duvel
Posts: 12
Joined: Wed Jun 06, 2007 6:18 am

I got graph but no legends...

Post by duvel »

I have the same problem as this user (graphs, but no legends). I am running version 1.2 and have set the full path to the font file (DejaVuSansMono-Roman.ttf) at several locations :
->settings -> paths -> RRDTool Default Font Path
->settings -> visual -> legend font file
->graphs -> settings -> legend font file
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit the failing graph from graph management, switch to DEBUG and post the rrdtool graph statement
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests