Created
April 17, 2014 07:37
-
-
Save blkperl/10961436 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class role::vpnserver { | |
| class { 'openvpn::server': | |
| # environment specific parameters | |
| } | |
| class { 'collectd::plugin::openvpn': | |
| # environment specific parameters | |
| } | |
| @@leonardo::graph { "${::hostname}-openvpn": | |
| target => "${dashboard_dir}/90-openvpn.graph", | |
| parameters => { 'title' => 'OpenVPN connected users', | |
| 'vtitle' => 'Users', | |
| 'linemode' => 'connected' }, | |
| fields => { | |
| 'users' => { 'data' => "sumSeries(collectd.${collectd_name}.openvpn*.*)",}, | |
| }, | |
| tag => "env_leonardo_${environment}", | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment