[afnog] Cacti not graphing
Ronald Nsubuga
nsubugr at itxpertz.net
Thu Feb 5 05:24:06 UTC 2009
Hello,
On Thu, Feb 5, 2009 at 7:53 AM, Christiana Toluwanimi Olayinka
<titoluwanimi at yahoo.com> wrote:
> Dear All,
>
> I installed cacti-0.8.7b.2_2 on a FreeBSD6.3-RELEASE-p7.
>
> I tried to create a new graph on my newly created device but the graph did
> not show.
>
> The graph debug mode shows this error:
>
> RRDTool Command:
>
> /usr/local/bin/rrdtool graph - \
> --imgformat=PNG \
> --start=-86400 \
> --end=-300 \
> --title="border router - Traffic - ether4-DVBIO" \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit=0 \
> --vertical-label="bits per second" \
> --slope-mode \
> --font TITLE:12: \
> --font AXIS:8: \
> --font LEGEND:10: \
> --font UNIT:8: \
> DEF:a="/usr/local/share/cacti/rra/border_router_traffic_in_17.rrd":traffic_in:AVERAGE
> \
> DEF:b="/usr/local/share/cacti/rra/border_router_traffic_in_17.rrd":traffic_out:AVERAGE
> \
> CDEF:cdefa=a,8,* \
> CDEF:cdeff=b,8,* \
> AREA:cdefa#00CF00FF:"Inbound" \
> GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
> GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
> GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
> COMMENT:"Total In\: 0 bytes\n" \
> LINE1:cdeff#002A97FF:"Outbound" \
> GPRINT:cdeff:LAST:"Current\:%8.2lf %s"
> \
> GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
> GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
> COMMENT:"Total Out\: 0 bytes"
>
> RRDTool Says:
>
> ERROR: opening '/usr/local/share/cacti/rra/border_router_traffic_in_17.rrd':
> No such file or directory
>
> Can somebody please help.
>
It looks like a problems with the ports systems, but you can try the
following options below.
In your poller file you have to specify the the right path where the
poller drops the files that it creates OR better still you have to
make sure that all the newly created RRD's are created in the right
document root directory and you will be able to read all the files
once you have the right permissions as well.
Hope it helps.
--
Regards,
Ronald Nsubuga,
skype: nsptash
"I don't speak for anybody but myself - that's enough trouble"
More information about the afnog
mailing list