From e17a4e5fc3f376d15a47a36031ec060cfd2635e8 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 1 Jan 2009 12:35:34 +0100 Subject: [PATCH] collectd.conf(5): Added information about the openvpn plugin. --- src/collectd.conf.pod | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 -- 2.30.2