RRDs created but no graphs shown

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

Moderators: Developers, Moderators

Post Reply
PascalTurbo
Posts: 3
Joined: Fri Apr 27, 2012 9:18 am

RRDs created but no graphs shown

Post by PascalTurbo »

Hi There,

fresh installation of cacti on Debian (not from deb package).

It seems to run great "out of the box". The RRDs are created every 5min.
But the graphs are not shown. Only the little blue question mark.

I activated "Graph Debug Mode" and it show's this command:

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Load Average' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent='0' \
--vertical-label='processes in the run queue' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_1min":AVERAGE \
DEF:b="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_5min":AVERAGE \
DEF:c="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_15min":AVERAGE \
CDEF:cdefg='TIME,1335536145,GT,a,a,UN,0,a,IF,IF,TIME,1335536145,GT,b,b,UN,0,b,IF,IF,TIME,1335536145,GT,c,c,UN,0,c,IF,IF,+,+' \
AREA:a#EACC00FF:"1 Minute Average"  \
GPRINT:a:LAST:" Current\:%8.2lf\n"  \
AREA:b#EA8F00FF:"5 Minute Average":STACK \
GPRINT:b:LAST:" Current\:%8.2lf\n"  \
AREA:c#FF0000FF:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n"  \
LINE1:cdefg#000000FF:"" 
Under RRDTool Says:
there is absolutely nothing.

I executed the above command on command line and there is a propper png created.

Any Idea how to fix this?

Thanks allot
Pascal
User avatar
MrEko
Posts: 8
Joined: Tue Apr 24, 2012 12:37 pm
Location: Prato, Italy

Re: RRDs created but no graphs shown

Post by MrEko »

Could you provide more information using this link?

http://docs.cacti.net/manual:087:4_help ... #debugging
PascalTurbo
Posts: 3
Joined: Fri Apr 27, 2012 9:18 am

Re: RRDs created but no graphs shown

Post by PascalTurbo »

Thanks for your answer.
The single steps:

Check Cacti Log File

I attached the log of one poller run to this answer.

Check Basic Data Gathering

No problem with gathering. At the moment I only use the build-in methods for local system information. When taking the rrd-files and generate the png with rratools they are showing what they should show to me.

Check Cacti's Poller

See "Check Cacti Log File" - I could not find anything crazy

Check RRD File Update

Files are created

Check RRD File Ownership

Fits

Check RRD File Numbers

Check

Check RRDTool Graph Statement

This maybe little bit crazy:

Code: Select all

DEF:a="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_1min":AVERAGE \
DEF:b="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_5min":AVERAGE \
DEF:c="/var/www/cacti/htdocs/rra/localhost_load_1min_5.rrd":"load_15min":AVERAGE \
But setup is the 1 5 and 15min datasource (ther's only one rrd - the 1min)
Attachments
poller.txt
(84.07 KiB) Downloaded 516 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: RRDs created but no graphs shown

Post by gandalf »

Please see httpd's error log for any errors
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests