X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdxport.pod;h=11159e479fbe47d15f1e4e86b0654efec4224b9e;hb=5bf8f29cfab14076fab38ac26a98fc4993a23b7e;hp=62a96259f8357ca45189f575bb4a2f03981fbe8a;hpb=342b22c3e74a10d7049285c2cea7383676bcfc95;p=rrdtool.git diff --git a/doc/rrdxport.pod b/doc/rrdxport.pod index 62a9625..11159e4 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,6 +49,23 @@ 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. To +specify a UNIX domain socket use the prefix C, see example below. Other +addresses are interpreted as normal network addresses, i.Ee. IPv4 or IPv6 +addresses in most cases. + + rrdtool xport --daemon unix:/var/run/rrdcached.sock ... + +=item B<--enumds> + +The generated xml should contain the data values in enumerated tags. + + valval + =item BIB<=>IB<:>IB<:>I See I documentation. @@ -131,6 +149,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