New Relic piVPN (OpenVPN) monitoring Plugin

The New Relic piVPN Plugin enables monitoring piVPN, and it reports the following data:

Note

This plugin is based on KangaCoders' newrelic_openvpn_agent - rubygems.org/gems/newrelic_openvpn_agent, v.0.0.1

Requirements

The piVPN monitoring Plugin for New Relic requires the following:

Instructions for running the piVPN agent

  1. Install this gem from RubyGems:

    sudo gem install newrelic_pivpn_agent

  2. Install config, execute

    sudo newrelic_pivpn_agent install - it will create /etc/newrelic/newrelic_pivpn_agent.yml file for you.

  3. Edit the /etc/newrelic/newrelic_pivpn_agent.yml file generated in step 2.

    3.1. replace YOUR_LICENSE_KEY_HERE with your New Relic license key. Your license key can be found under Account Settings at rpm.newrelic.com, see newrelic.com/docs/subscriptions/license-key for more help.

    3.2. replace the agent name 'openvpn' to any unique instance name of choice

    3.3. replace the path of the piVPN status binary if needed

  4. Execute

    newrelic_pivpn_agent run

  5. Go back to the Plugins list and after a brief period you will see the piVPN Plugin listed in your New Relic account

Keep this process running

You can use services like these to manage this process and run it as a daemon.

Support

Please use Github issues for support.