• 2017-10-27-13.28.49-fullpage.png

You should configure InfluxDB to accept collectd packets, copy types.db from router. Then configure in LUCI network plugin (set address of your db server).

Collector Configuration Details

For openvpn enable collectd plugin in make menuconfig, then add to /etc/config/luci_statistics:

config statistics 'collectd_openvpn'
    option enable '1'
    list StatusFile '/var/run/openvpn.nameofinstance.status'
    option CollectIndividualUsers '1'
    option CollectCompression '1'
    option ImprovedNamingSchema '1'