[afnog] Cacti not graphing

Christiana Toluwanimi Olayinka titoluwanimi at yahoo.com
Fri Feb 6 00:29:25 UTC 2009


Ronald thanx.

The problem was that I made a wrong entry for the cactiuser in setting up cron to run the poller every 5 mins.
After correcting the entry, I could view my device's graph.

Cheers,

---------------------------

Christiana T. Olayinka

Tel:+2348062209650

--- On Wed, 2/4/09, Ronald Nsubuga <nsubugr at itxpertz.net> wrote:
From: Ronald Nsubuga <nsubugr at itxpertz.net>
Subject: Re: [afnog] Cacti not graphing
To: titoluwanimi at yahoo.com
Cc: afnog at afnog.org
Date: Wednesday, February 4, 2009, 9:24 PM

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"



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20090205/99fbec8a/attachment.html>


More information about the afnog mailing list