cacti RRA graphics can be displayed about 5 months time data

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

Moderators: Developers, Moderators

Post Reply
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

cacti RRA graphics can be displayed about 5 months time data

Post by Qinxocy »

Such as the title, year graphics inside the RRA graphics can only save the displayed about 5 months time data, data source inside the circular file I write is a 3840 line( default is 799).
please help me,this issue for several months before it has occurred for a long time ( 2008 just installed when no this problem ), how should I check?
If you can, you can add my msn:124483360@qq.com
Attachments
As shown in Figure cacti, built 2008, March began this problem
As shown in Figure cacti, built 2008, March began this problem
1.png (52.55 KiB) Viewed 1601 times
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

No one knows?
srossen
Posts: 43
Joined: Mon Jun 13, 2005 1:10 pm

Re: cacti RRA graphics can be displayed about 5 months time

Post by srossen »

Qinxocy wrote:No one knows?
Hello mr impatient. It's weekend! Give people some time. Now go tell us what your rra steps/rows/timespan are.

If you don't respond in two minutes this thread will be deleted!
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

name:Yearly (1 Day Average)
steps:288
rows:3840 (default 799,Last Thursday instead of 3840, today found or lose data)
timespan:33053184
srossen
Posts: 43
Joined: Mon Jun 13, 2005 1:10 pm

Re: cacti RRA graphics can be displayed about 5 months time

Post by srossen »

Qinxocy wrote:name:Yearly (1 Day Average)
steps:288
rows:3840 (default 799,Last Thursday instead of 3840, today found or lose data)
timespan:33053184
What do you mean "default 799,Last Thursday instead of 3840, today found or lose data"? Did you just change this value?
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

srossen wrote:
Qinxocy wrote:name:Yearly (1 Day Average)
steps:288
rows:3840 (default 799,Last Thursday instead of 3840, today found or lose data)
timespan:33053184
What do you mean "default 799,Last Thursday instead of 3840, today found or lose data"? Did you just change this value?
Yes..I just changed the value, other do not know how to do
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

I have not changed inside the script numerical, is cacti by default, why other people do not appear on this problem, and I suddenly appears in this issue?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cacti RRA graphics can be displayed about 5 months time

Post by gandalf »

Please post output of "rrdtool info" run against the rrd file in question. Then, let's see
R.
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

I checked the RRD file: rra[4].pdp_per_row=799

In my webpage changes above 3840 did not take effect.

Now how to do, how to make the RRA file inside rows into 3840.

Don't affect my current situation, how to modify the RRA file?
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

is there nobody to know?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cacti RRA graphics can be displayed about 5 months time

Post by gandalf »

Qinxocy wrote:I checked the RRD file: rra[4].pdp_per_row=799

In my webpage changes above 3840 did not take effect.

Now how to do, how to make the RRA file inside rows into 3840.

Don't affect my current situation, how to modify the RRA file?
You can't _change_ an existing rrd file that way. You will have to modify the RRA/Data Template and then drop the rrd file. A new one, using the latest definitions, will be created on next polling interval
R.
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

I found online with resize.pl ( http://forums.cacti.net/viewtopic.php? T=11425 ) this script to modify the RRA file, is excuse me this modification, can use this to achieve my aim now?
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: cacti RRA graphics can be displayed about 5 months time

Post by Qinxocy »

gandalf wrote:
Qinxocy wrote:I checked the RRD file: rra[4].pdp_per_row=799

In my webpage changes above 3840 did not take effect.

Now how to do, how to make the RRA file inside rows into 3840.

Don't affect my current situation, how to modify the RRA file?
You can't _change_ an existing rrd file that way. You will have to modify the RRA/Data Template and then drop the rrd file. A new one, using the latest definitions, will be created on next polling interval
R.

If you mean all to do, the previous data will be lost, but I must retain the previous data.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cacti RRA graphics can be displayed about 5 months time

Post by gandalf »

RRDTool files can't be changed with respect to several parameters. So, in case you've chosen a 1 min polling and did NOT change RRAs accordingly, you're at a loss.
You may reserach rrdjig and/or RRD::tweak to work around some of those restrictions.
Or, when keeping polling interval and only "adding" more rra slots, a resize indeed may help
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests