Collectd and openvpn stats

Started by fabio, October 01, 2017, 01:16:20 PM

Previous topic - Next topic
Hi
I would like to collect openvpn stats via collectd so I've manually added:
LoadPlugin openvpn
<Plugin openvpn>
StatusFile "/var/run/openvpn-status.log"
CollectIndividualUsers true
CollectUserCount true
CollectCompression true
ImprovedNamingSchema false
</Plugin>

to my /usr/local/etc/collectd.conf

and
status /var/run/openvpn-status.log


in the Advanced field of "VPN: OpenVPN: Servers"

This seems works fine so I'm asking you, if it's possibile, to add an "Advanced" field also in collectd
field simply appended to /usr/local/etc/collectd.conf


Thank you for all your great work and sorry if I've only requests and not code



if this gets added to the core package with an automatically generated name, extending the plugin would be simple. You may want to add a feature request on the plugins and the core package on GitHub

perfect I'll add this request on GitHub

Thansk again