ucd/net Load Avg. Weekly Graph output problem.

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

Moderators: Developers, Moderators

Post Reply
vgjunkie
Posts: 8
Joined: Fri Aug 26, 2005 8:25 am

ucd/net Load Avg. Weekly Graph output problem.

Post by vgjunkie »

About 2 weeks ago I added the ucd/net Load Average (1-5-15 minute) graphing type for one of my Linux machines. I've noticed that the weekly graph only seems to show data for the last 3 days or so. Is this normal for the first few weeks or did I miss something somewhere?

Thanks for the help.
Attachments
LA_20050825.png
LA_20050825.png (28.83 KiB) Viewed 1633 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please post a screen shot of your RRA settings for Weekly
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
vgjunkie
Posts: 8
Joined: Fri Aug 26, 2005 8:25 am

Post by vgjunkie »

Oddly enough, this graph along with the ucd/net memory usage graph are the ones that are doing this. I have another Load Avg Graph template that runs using a script and it is fine (attached below also). Also as a note I am using the latest version of Cacti.
Attachments
RRA Weekly
RRA Weekly
rra_weekly.png (11.86 KiB) Viewed 1625 times
Load avg weekly using script data.
Load avg weekly using script data.
lh_la_script.png (35.69 KiB) Viewed 1625 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um...

Those settings are not right....

Problem is they are probably affecting any graphs created since they where changed. Did you import any templates about 2 weeks ago or earlier?
Attachments
Weekly RRA Settings
Weekly RRA Settings
rra_weekly.jpg (218.56 KiB) Viewed 1616 times
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

After you update the RRA settings, delete the associated rrd file for that graphs datasource and let cacti recreate it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
vgjunkie
Posts: 8
Joined: Fri Aug 26, 2005 8:25 am

Post by vgjunkie »

I share admin duties with another person for cacti. Most of these things have been up and running for at least 2 months if not longer. I just started working with this about 3 weeks ago, and that ucd/net Load Average template was already listed.

The person who setup cacti originally changed the RRA settings because he wanted any samples to be based on 5 minutes, versus the normal 30m, 2h, 1d.

All of our RRA date settings are set as how the weekly is (Steps: 1, Rows: 600)

I did a check on other graphs that I added in the last few weeks and noticed the same pattern of the time period graphs getting cut off. So I guess my question is, how could I make the RRA settings be based off of 5 minutes (for all timeframes), but not screw up the graphing output to cut off as it does?

Thanks for your help.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

www.rrdtool.org

Read up.. :)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
vgjunkie
Posts: 8
Joined: Fri Aug 26, 2005 8:25 am

Post by vgjunkie »

Thanks I'll read up and hopefully come up with a solution :)

In the meantime, if I wanted to revert back to the default settings, do these seem correct?

Consolidation Selected: X Factor: Steps: Rows

Daily:
Avg, Max, Last : 0.5: 1 : 600

Weekly:
Avg, Max, Last: 0.5: 6: 700

Monthly:
Avg, Max, Last: 0.5: 24: 775

Yearly:
Avg, Max, Last: 0.5: 288: 797

Also would it be safe to assume that I need to remove all my rra/*.rrd files or just the ones that were added since the RRA was changed (ones that suffer from this cutoff). Also is the old data salvagable or do I need to start fresh?

Sorry if these things are covered in another post, I'm just trying to get things back to normal as fast as possible before I dive into trying to mess with the RRA settings.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You can salvage the data using rrdtool dump and importing it. But again, I say read the rrdtool documentation. I have yet to do this myself.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests