rddfetch the maximum of all max in a given timerange

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

Moderators: Developers, Moderators

Post Reply
fred.tant
Posts: 2
Joined: Mon Apr 18, 2005 7:43 am

rddfetch the maximum of all max in a given timerange

Post by fred.tant »

rrdtool fetch server.rrd MAX --start 1113826500 --end 1113827100 -r 900

gives all MAX values of each timestamp in the range between start and stop:

timestamp xxxx
1113826500: 1.0979600000e+03
1113826800: 1.1059733333e+03
1113827100: 1.0980266667e+03

What we want is the MAX value of all maxvalues in a timerange.
Is this case : 1113826800: 1.1059733333e+03

Is this possibe in the rrdtool tool :)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is a question for the RRDTool.org web site.

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?
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

But since you asked here maybe this can help you:

Code: Select all

rrdtool fetch server.rrd MAX --start 1113826500 --end 1113827100 -r 900 | sort -g -k2 | tail -1
- Piotr
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests