From: Florian Forster Date: Thu, 1 Jan 2009 11:35:34 +0000 (+0100) Subject: collectd.conf(5): Added information about the openvpn plugin. X-Git-Tag: collectd-4.6.0~115^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e17a4e5fc3f376d15a47a36031ec060cfd2635e8;p=collectd.git collectd.conf(5): Added information about the openvpn plugin. --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index cc4fab4f..932bc6c7 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1368,6 +1368,32 @@ short: If it works for you: Great! But kaap in mind that the config I change, though this is unlikely. Oh, and if you want to help improving this plugin, just send a short notice to the mailing list. ThanksE:) +=head2 Plugin C + +The OpenVPN plugin reads a status file maintained by OpenVPN and gathers +traffic statistics about connected clients. + +To set up OpenVPN to write to the status file periodically, use the +B<--status> option of OpenVPN. Since OpenVPN can write two different formats, +you need to set the required format, too. This is done by setting +B<--status-version> to B<2>. + +So, in a nutshell you need: + + openvpn $OTHER_OPTIONS \ + --status "/var/run/openvpn-status" 10 \ + --status-version 2 + +Available options: + +=over 4 + +=item B I + +Specifies the location of the status file. + +=back + =head2 Plugin C The "oracle" plugin uses the Oracle® Call Interface (OCI) to connect to an