Graph data only saving for 1 week

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

Moderators: Developers, Moderators

Post Reply
epicfail
Posts: 20
Joined: Sat Oct 10, 2015 5:52 pm

Graph data only saving for 1 week

Post by epicfail »

Hi all,

Have an interesting issue, my graphs only retain one week of data. Not sure why. Any ideas?
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Graph data only saving for 1 week

Post by micke2k »

Check Data source template for which RRAs is enabled.

All graphs or only one?
epicfail
Posts: 20
Joined: Sat Oct 10, 2015 5:52 pm

Re: Graph data only saving for 1 week

Post by epicfail »

Associated RRA's under Data Templates?

Hourly (1 minute average) is the only one selected (I have one minute polling). All other should be selected as well?

Here's my RRA set-up


Hourly (1 Minute Average) 1 10080 14400
Daily (5 Minute Average) 5 25920 86400
Weekly (30 Minute Average) 30 9000 604800
Monthly (2 Hour Average) 120 2250 2592000
Yearly (1 Day Average) 1440 797 33053184

My question now is what if I want one minute intervals over say, a month? I believe what this is telling me is that the one minute resolution is only kept for a week, and since no other RRA's are selected it doesn't know what to do with the old data.
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Graph data only saving for 1 week

Post by micke2k »

Yes select the other ones aswell.

On the other question this is the resource i can think of:

http://www.tolaris.com/2013/07/09/cacti ... e-polling/
epicfail
Posts: 20
Joined: Sat Oct 10, 2015 5:52 pm

Re: Graph data only saving for 1 week

Post by epicfail »

Thanks for your response. The website looks like it'll have what I need. I know the one minute polling is set-up like he describes at least.
epicfail
Posts: 20
Joined: Sat Oct 10, 2015 5:52 pm

Re: Graph data only saving for 1 week

Post by epicfail »

Nope, I had already set it up like he described, so no change. Sigh...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph data only saving for 1 week

Post by BSOD2600 »

Do you realize that any changes to the RRA settings are NOT updated in the existing *.rrd files? you'll need to either delete them or manually run 'rrdtool tune' command on each to update their settings. Possibly why you're still only seeing a week of data.
epicfail
Posts: 20
Joined: Sat Oct 10, 2015 5:52 pm

Re: Graph data only saving for 1 week

Post by epicfail »

The only thing I changed was associated RRA's w/ Data Templates. RRA settings themselves didn't change.

I tried to use rrdtool tune, but doesn't seem like its doing anything at all.
BlaZoR
Posts: 8
Joined: Wed Nov 12, 2008 7:36 am
Location: Paderborn, Germany
Contact:

Re: Graph data only saving for 1 week

Post by BlaZoR »

I have the same problem.
I made the RRA settings for 1-minute polling before I've created any graphs so 'old rrd-file' can't be the reason.
Most of the graphs are working fine except the ones where I made the data and graph templates for myself. They "stop" exactly after 1 week.

Any idea?!
Attachments
Bildschirmfoto zu 2016-12-15_10-23-35.png
Bildschirmfoto zu 2016-12-15_10-23-35.png (23.63 KiB) Viewed 1360 times
Bildschirmfoto zu 2016-12-15_10-20-40.png
Bildschirmfoto zu 2016-12-15_10-20-40.png (87.63 KiB) Viewed 1360 times
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests