X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdxport.pod;h=d7e6bb34616e9a4c76a75e0b168136e0f76adf04;hp=f5738154b937e17e7e29eb7f84389da6e47ab05e;hb=3501907ea29f921eefcae6bd50c3f31eca0e49b2;hpb=7bff0434f9262b706ae3f2c5eb68a5757ad84d81 diff --git a/doc/rrdxport.pod b/doc/rrdxport.pod index f573815..d7e6bb3 100644 --- a/doc/rrdxport.pod +++ b/doc/rrdxport.pod @@ -9,6 +9,7 @@ S<[B<-s>|B<--start> I]> S<[B<-e>|B<--end> I]> S<[B<-m>|B<--maxrows> I]> S<[B<--step> I]> +S<[B<--daemon> I
]> S<[BIB<=>IB<:>IB<:>I]> S<[BIB<=>I]> S<[BB<:>I[B<:>I]]> @@ -48,15 +49,20 @@ for details. See L documentation. -=item B<--enumds> +=item B<--daemon> I
-The generated xml should contain the data values in enumerated tags. +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. - valval + rrdtool xport --daemon unix:/var/run/rrdcached.sock ... + +=item B<--enumds> -=item B<--unknwonaszero> +The generated xml should contain the data values in enumerated tags. -Turn UNKNWON into '0' on output. + valval =item BIB<=>IB<:>IB<:>I @@ -141,6 +147,20 @@ 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