Fetching 5 min. res. data from > a month ago?

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

Moderators: Developers, Moderators

Post Reply
gm20175
Posts: 14
Joined: Wed Nov 15, 2006 8:07 pm
Location: Tokyo, Japan

Fetching 5 min. res. data from > a month ago?

Post by gm20175 »

Hello,

Without issue, we have implemented very large RRAs without consolidation per gandalf's excellent instructions: http://docs.cacti.net/node/54

We are using the yearly RRA parameters as specified, and Cacti provides "high resolution" graphical data wonderfully. Thank you!

One question, how does one FETCH 5 minute data from the RRA for a duration of time greater than a few days?

$ rrdtool fetch [rrd file] AVERAGE -r 1 -s 1month

If, for example. the above syntax is used, 2 hour data is returned.

Any ideas on how to fetch other resolutions from such RRAs?

Appreciate any help! Thanks gandalf for your guidance!

Thank You,
gm20175
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

you need to modify the RRAs.

See this excellent HowTo from gandalf : http://forums.cacti.net/viewtopic.php?t=11425
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
gm20175
Posts: 14
Joined: Wed Nov 15, 2006 8:07 pm
Location: Tokyo, Japan

Eh?

Post by gm20175 »

Thank You, fmangeant,

The RRDs are already created correctly according to Gandalf's no consolidation RRD tutorial (1 year RRDS). They do not require resizing, and they graph at 5 minute resolution even after a month worths of data has been collected.

Just need to know how to get 5 minute resolution via rrdtool fetch...

$ rrdtool fetch [rrd] AVERAGE -s -1month

...returns 1 month of data at 2 hour resolution.

How does one make rrdtool fetch return 1 month of data at 5 minute resolution?

The 5 minute data exists in the RRD---it can be dumped into XML, but rrdtool fetch only shows 2 hour resolution for fetches of time greater than a couple of days.

Thank You,
Gregory
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'm quite used to rrdtool, but personally, I can't answer this. Please post the question to the rrdtool_users mailinglist. The real rrdtool guru's are sitting there
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests