-
Notifications
You must be signed in to change notification settings - Fork 384
collectors OpenVPNCollector
Rob Smith edited this page Aug 11, 2012
·
12 revisions
Processes OpenVPN metrics. This collector can process multiple OpenVPN instances (even from a server box). In addition to the path, you may also specify a name of the instance.
You can use both the status file or the tcp management connection to retrieve the metrics.
To parse the status file::
instances = file:///var/log/openvpn/status.log
Or, to override the name (now "status"):
instances = file:///var/log/openvpn/status.log?developers
To use the management connection::
instances = tcp://127.0.0.1:1195
Or, to override the name (now "127_0_0_1"):
instances = tcp://127.0.0.1:1195?developers
You can also specify multiple and mixed instances::
instances = file:///var/log/openvpn/developers.log, tcp://10.0.0.1:1195?admins
- urlparse
- Generic Options
- instances: List of instances to collect stats from
- enabled: Enable collecting these metrics
- timeout: network timeout
- byte_unit: Default numeric output(s)
__EXAMPLESHERE__