Open z0rc opened 9 years ago
Nice work
Hi z0rc,
unfortunately we no longer have the need for openvpn any more and as this plugin rarely needs updates we are not really maintaining it any longer.
Please feel free to submit a pull request with a fix for client option. If not possible it would be helpful if you could send an example of the actual status log so we can help adapting the plugin for your needs!
Grts!
Here is sample sample status log:
OpenVPN STATISTICS
Updated,Thu Apr 30 11:38:51 2015
TUN/TAP read bytes,191394
TUN/TAP write bytes,485034
TCP/UDP read bytes,558238
TCP/UDP write bytes,206676
Auth read bytes,496839
pre-compress bytes,149980
post-compress bytes,128698
pre-decompress bytes,0
post-decompress bytes,0
END
/etc/openvpn $ newrelic_openvpn_agent run [2015-05-06 17:47:04 UTC] Agent OpenVPN Agent is at version 0.0.1 [2015-05-06 17:47:04 UTC] Error occurred in poll cycle: divided by 0 [2015-05-06 17:47:04 UTC] Gathered 0 statistics
OpenVPN STATISTICS Updated,Wed May 6 13:47:20 2015 TUN/TAP read bytes,8979 TUN/TAP write bytes,10814 TCP/UDP read bytes,19553 TCP/UDP write bytes,15557 Auth read bytes,11262 pre-compress bytes,0 post-compress bytes,0 pre-decompress bytes,0 post-decompress bytes,0 END
This plugin isn't designed to parse status log when openvpn is launched with --client option.