Data in weekly graph drops off after 2 1/2 days

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

Moderators: Developers, Moderators

Post Reply
davenport
Posts: 2
Joined: Tue Sep 07, 2004 1:03 pm

Data in weekly graph drops off after 2 1/2 days

Post by davenport »

Have old graphs on system running great . had a disk space issue some on tweaked something now weekly and mothly graph dont diplay mor than 2 1/2 days off data. any ideas ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You must be very specific. What do you mean by "tweaks". Again, be very specific.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
davenport
Posts: 2
Joined: Tue Sep 07, 2004 1:03 pm

Post by davenport »

Tweak is defined as did something told no one and left. This is my Issue.

I now know that when you set up a rrd it is filled with unknow data that is switched out for know but never grows in size. Knowing this what variable contols the size of the rrd in age. I have weekly and monthly graphs that show a week and a month but the data only shows 2 1/2 days of collored graph the rest is blank. if the rrd was bigger would not the graph give me more days of results.

I see as the solution i change a variable make a new graph and presto in a moth i have all the data i need.

This is the source for my graph i don't see the variable here it must be in the GUI but where.



/usr/local/rrdtool-1.0.39/bin/rrdtool graph - \
--imgformat=PNG \
--start="-1382400" \
--title="PAIX - Primary 5:3" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--vertical-label="MegaBytes Per Second" \
DEF:a="/home/www/cacti/rra/66_201_32_1_5003_in.rrd":66_201_32_1_5003_in:AVERAGE \
DEF:b="/home/www/cacti/rra/66_201_32_1_5003_out.rrd":66_201_32_1_5003_ou:AVERAGE \
CDEF:cdefa=a,9,* \
CDEF:cdefe=b,9,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"

Thanks for any Help,
David Miller
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests