X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdxport.pod;h=bf9fd529bde53da81173fabf4e007caa34f77abd;hb=d85e6bdfe82fdc4d16898df43f8a5371503816ae;hp=ebfc479825dcbe79db46fe53e10588f29765fce9;hpb=cb092381724e4ba8a1f18712fefc541a3d370f99;p=rrdtool.git diff --git a/doc/rrdxport.pod b/doc/rrdxport.pod index ebfc479..bf9fd52 100644 --- a/doc/rrdxport.pod +++ b/doc/rrdxport.pod @@ -9,6 +9,8 @@ S<[B<-s>|B<--start> I]> S<[B<-e>|B<--end> I]> S<[B<-m>|B<--maxrows> I]> S<[B<--step> I]> +S<[B<--json>]> +S<[B<--daemon> I
]> S<[BIB<=>IB<:>IB<:>I]> S<[BIB<=>I]> S<[BB<:>I[B<:>I]]> @@ -48,6 +50,25 @@ for details. See L documentation. +=item B<--daemon> I
+ +Address of the L daemon. If specified, a C command is sent +to the server before reading the RRD files. This allows B to return +fresh data even if the daemon is configured to cache values for a long time. +For a list of accepted formats, see the B<-l> option in the L manual. + + rrdtool xport --daemon unix:/var/run/rrdcached.sock ... + +=item B<--json> + +produce json formated output (instead of xml) + +=item B<--enumds> + +The generated xml should contain the data values in enumerated tags. + + valval + =item BIB<=>IB<:>IB<:>I See I documentation. @@ -131,8 +152,22 @@ The resulting data section is: XPORT:out2:"if2 out bytes" \ XPORT:sum:"output sum" +=head1 ENVIRONMENT VARIABLES + +The following environment variables may be used to change the behavior of +Cxport>: + +=over 4 + +=item B + +If this environment variable is set it will have the same effect as specifying +the C<--daemon> option on the command line. If both are present, the command +line argument takes precedence. + +=back =head1 AUTHOR -Tobias Oetiker Eoetiker@ee.ethz.chE +Tobias Oetiker Etobi@oetiker.chE