Help: Missing legend in Graphs

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

Moderators: Developers, Moderators

Post Reply
User avatar
Braeburn
Posts: 3
Joined: Tue Aug 07, 2007 4:59 am

Help: Missing legend in Graphs

Post by Braeburn »

Hello,

All graphs invoked by Cacti itself are lacking the legend (Percent, Description, Time bar, Average, Maximum). It is strange, because when I create the graph manually on the command line - invoking exactly the same command as used by cacti (Graph Management /RRDTool Command:) - all data occurs as it should.

Here is the command:

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco 836 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
DEF:a="/var/www/localhost/htdocs/cacti/rra/cisco_836_5min_cpu_26.rrd":5min_cpu:AVERAGE \
AREA:a#FF0000:"CPU Usage"  \
GPRINT:a:LAST:"Current\:%8.0lf"  \
GPRINT:a:AVERAGE:"Average\:%8.0lf"  \
GPRINT:a:MAX:"Maximum\:%8.0lf" 
Any ideas or hints out there?

Cheers,

B.
Attachments
The graph how it looks like when invoked by command line.
The graph how it looks like when invoked by command line.
c836_cpu.png (23.25 KiB) Viewed 972 times
The graph how it looks like when invoked by cacti itself (using the same syntax).
The graph how it looks like when invoked by cacti itself (using the same syntax).
cisco_cpu_no_legend.png (16.01 KiB) Viewed 972 times
idle
Cacti User
Posts: 77
Joined: Wed May 26, 2004 10:49 am
Location: Barcelona
Contact:

Post by idle »

Check settings for font paths.
User avatar
Braeburn
Posts: 3
Joined: Tue Aug 07, 2007 4:59 am

Post by Braeburn »

Hello @idle,

You got it and you made my day!

Thank you very much.

Chears,

B.
Post Reply

Who is online

Users browsing this forum: xugmu and 2 guests