EXPERTS! 3Month History accurate up to 1min - RRA's

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

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Keep in mind this is going to be a BIG RRD file

Daily (1 Minute Average) - For 3 Months
Steps 1
X-Files 0.5
Rows 129600
TimeSpan 7776000

Weekly (30 Minute Average) - For 1 Weeks (You should make this more, get close to the same number of rows as Daily)
Steps 30
X-Files 0.5
Rows 700
Timespan 604800

Monthly (2 Hour Average) - For 1 Months (You should make this more, get close to the same number of rows as Daily)
Steps 24
X-Files 0.5
Rows 775
Timespan 2678400

Yearly (1 Day Average) - For 1 Years (You should make this more, get close to the same number of rows as Daily)
Steps 288
X-Files 0.5
Rows 797
Timespan 33053184

Please remember paypal if you are satisfied :)

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?
bryman55
Posts: 14
Joined: Thu Mar 24, 2005 4:13 pm

Post by bryman55 »

TheWitness wrote:Keep in mind this is going to be a BIG RRD file

Daily (1 Minute Average) - For 3 Months
Steps 1
X-Files 0.5
Rows 129600
TimeSpan 7776000

Weekly (30 Minute Average) - For 1 Weeks (You should make this more, get close to the same number of rows as Daily)
Steps 30
X-Files 0.5
Rows 700
Timespan 604800

Monthly (2 Hour Average) - For 1 Months (You should make this more, get close to the same number of rows as Daily)
Steps 24
X-Files 0.5
Rows 775
Timespan 2678400

Yearly (1 Day Average) - For 1 Years (You should make this more, get close to the same number of rows as Daily)
Steps 288
X-Files 0.5
Rows 797
Timespan 33053184

Please remember paypal if you are satisfied :)

TheWitness
Thank you very much!

For the line items that say "(You should make this more, get close to the same number of rows as Daily)":

I am not sure I understand that, could you explain? Aren't those the same as default settings?

Yes I understand that these files will be big. My current RRA's are 140mb.

Thanks again.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, you have ~130k rows in the per minute RRA and only 800 or so in the others.

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?
bryman55
Posts: 14
Joined: Thu Mar 24, 2005 4:13 pm

Post by bryman55 »

Its been a while and finally implemented your suggestion this month. To refresh your memory I am trying to get 3Months history accurate up to 1 min. So now that few weeks have gone by since the new settings I am getting the same results. The daily graph is accurate for 1 week and if you go any further in the past on daily graph it will not be displayed. Check the image I have included for the results. Here are the settings I have set to as suggested.

Daily (1 Minute Average) - For 3 Months
Steps 1
X-Files 0.5
Rows 129600
TimeSpan 7776000

Weekly (30 Minute Average) - For 1 Weeks (You should make this more, get close to the same number of rows as Daily)
Steps 30
X-Files 0.5
Rows 700
Timespan 604800

Monthly (2 Hour Average) - For 1 Months (You should make this more, get close to the same number of rows as Daily)
Steps 24
X-Files 0.5
Rows 775
Timespan 2678400

Yearly (1 Day Average) - For 1 Years (You should make this more, get close to the same number of rows as Daily)
Steps 288
X-Files 0.5
Rows 797
Timespan 33053184
Attachments
error.JPG
error.JPG (78.61 KiB) Viewed 1112 times
bryman55
Posts: 14
Joined: Thu Mar 24, 2005 4:13 pm

Post by bryman55 »

Great News! This has been resolved. The problem was with php. This is the error I received from the command output for graph image creation from rrd.php:

<b>Fatal error</b>: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in <b>/var/www/html/cacti/lib/rrd.php</b> on line <b>422</b><br />

Obviously PHP ran out of memory. I bumped up the php.ini to 24M and now the graphs display.

Thank you Witness for the help.

I will be looking for the donate button on this site ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests