NAME
rrd_fetch - A wrapper for "rrdtool fetch" that dumps the results to JSON.
SYNOPSIS
rrd_fetch -f <file> -s <start> -e <end> [-c <CF>] [-r <resolution>] [-b <backoff>] [-R <retries>] [-B <by>] [-p]
rrd_fetch -f --ds <file> -s <start> [-F <days>] [-c <CF>] [-r <resolution>] [-b <backoff>] [-R <retries>] [-B <by>] [-p]
DESCRIPTION
For information on the JSON output, see fetch_joined for RRD::Fetch.
FLAGS
--ds
Print out daily stats information.
-f <config file>
The config file to use.
-F <days>
How many days daily stat stuff should be done for.
Default :: 7
-s <start>
When to start.
-e <end>
When to end.
-c <CF>
The CF setting to use.
AVERAGE (default)
MIN
MAX
LAST
-r <resolution>
What to use for the resolution.
Default is undef.
-R <retries>
If it is a non-zero exit how many times to retry. Defaults to 3. Set to 0 to disable.
-b <backoff>
How long to back off in seconds if attempting a retry. Defaults to 1.
-B <by>
Which format to use for the results. See RRD::Fetch for more info. The default is column.
-p
Pretty print the results.