Monthly 2 Hour Average Graph issue

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

Moderators: Developers, Moderators

Post Reply
matty123
Posts: 13
Joined: Tue Oct 30, 2007 10:06 am

Monthly 2 Hour Average Graph issue

Post by matty123 »

hi,

My 2 hour monthly average graph is stuck and only displaying 2.5 weeks worth of data. Older devices which I added to cacti seem to show the 2 hour average correct for the entire 4 weeks worth. I'm guessing somewhere I imported a template and the values have been messed up but I'm struggling to find whats been changed to mess just the monthly graph up.

I did notice that a debug shows AVERAGE on the devices reporting the correct 4 weeks but the ones which only show 2.5 weeks are showing MAX on the DEF if thats any use? :)

DEF:a="/var/websites/cacti/rra/sw2-1_traffic_in_4068.rrd":'traffic_in':MAX \
DEF:b="/var/websites/cacti/rra/sw2-1_traffic_in_4068.rrd":'traffic_out':MAX \


Any ideas on how to repair? :)

thanks

matt
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Monthly 2 Hour Average Graph issue

Post by cigamit »

Check your RRAs, one probably was changed by a template
matty123
Posts: 13
Joined: Tue Oct 30, 2007 10:06 am

Re: Monthly 2 Hour Average Graph issue

Post by matty123 »

Hi

Will do, do you know what the defaults are?

Thanks

Matt
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Monthly 2 Hour Average Graph issue

Post by cigamit »

Code: Select all

INSERT INTO rra VALUES (1,'c21df5178e5c955013591239eb0afd46','Daily (5 Minute Average)',0.5,1,600,86400);
INSERT INTO rra VALUES (2,'0d9c0af8b8acdc7807943937b3208e29','Weekly (30 Minute Average)',0.5,6,700,604800);
INSERT INTO rra VALUES (3,'6fc2d038fb42950138b0ce3e9874cc60','Monthly (2 Hour Average)',0.5,24,775,2678400);
INSERT INTO rra VALUES (4,'e36f3adb9f152adfa5dc50fd2b23337e','Yearly (1 Day Average)',0.5,288,797,33053184);
INSERT INTO rra VALUES (5,'283ea2bf1634d92ce081ec82a634f513','Hourly (1 Minute Average)',0.5,1,500,14400);
matty123
Posts: 13
Joined: Tue Oct 30, 2007 10:06 am

Re: Monthly 2 Hour Average Graph issue

Post by matty123 »

hi,

tried the above but still only seeing 2.5 weeks worth. Not sure what else to check?

thanks

matt
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Monthly 2 Hour Average Graph issue

Post by cigamit »

matty123 wrote:hi,

tried the above but still only seeing 2.5 weeks worth. Not sure what else to check?

thanks

matt
Did you only update them? Any existing graphs still will use the old RRA sizing data, so you either have to delete/recreate them, or use the rrdtool command line options to expand the rrds individually.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests