Graphs show as broken image

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

Moderators: Developers, Moderators

Post Reply
Mooticus
Posts: 4
Joined: Sun Jul 05, 2015 5:12 am

Graphs show as broken image

Post by Mooticus »

My cacti is not showing any of the graphs. This is a fresh install on Ubuntu 14.04. I've setup the user cactiuser and set it to owner of the rra/ and logs/ directories. The rra documents just don't appear to be generating. I've tried rebuilding the poller cache.

In the Debug under "Graph Management" i have the following:

Code: Select all

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='MineServer - Memory Usage' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='kilobytes' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/home/admin/web/mineserver.com.au/public_html/cacti/rra/mineserver_mem_buffers_30.rrd':'mem_buffers':AVERAGE \
DEF:b='/home/admin/web/mineserver.com.au/public_html/cacti/rra/mineserver_mem_swap_31.rrd':'mem_swap':AVERAGE \
CDEF:cdefa='a,1024,*' \
CDEF:cdefe='b,1024,*' \
AREA:cdefa#FF4105FF:'Free'  \
GPRINT:cdefa:LAST:'Current\:%8.2lf %s'  \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s'  \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n'  \
AREA:cdefe#FFC73BFF:'Swap':STACK \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s'  \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s'  \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n' 
RRDTool Says:
ERROR: opening '/home/admin/web/mineserver.com.au/public_html/cacti/rra/mineserver_mem_buffers_30.rrd': No such file or directory
Mooticus
Posts: 4
Joined: Sun Jul 05, 2015 5:12 am

Re: Graphs show as broken image

Post by Mooticus »

I am also getting the following error in my logs:

07/05/2015 11:25:01 AM - POLLER: Poller[0] ERROR: The path: is invalid. Can not continue

Edit: I solved this problem. My rra files are still not generating, thus my graphs are broken.
Oldskool
Posts: 11
Joined: Tue Aug 11, 2015 4:28 am

Re: Graphs show as broken image

Post by Oldskool »

RRD files will only be generated if you actually assign the graph to a device. If you just create the graph, but don't attach it to anything, it will never be generated.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests