summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
new file mode 100644
index 0000000..c2566f3
--- /dev/null
+++ b/manifests/munin.pp
@@ -0,0 +1,16 @@
+class ekeyd::munin {
+ munin::plugin::deploy{'ekeyd_stat_':
+ source => "ekeyd/munin/ekeyd_stat_" ,
+ ensure => "absent",
+ }
+ munin::plugin{
+ [ 'ekeyd_stat_total_EntropyRate',
+ 'ekeyd_stat_total_TotalEntropy',
+ 'ekeyd_stat_total_KeyVoltage',
+ 'ekeyd_stat_total_FipsFrameRate',
+ 'ekeyd_stat_KeyTemperatureC' ]:
+ require => Munin::Plugin::Deploy['ekeyd_stat_'],
+ ensure => 'ekeyd_stat_',
+ config => "'user root\nenv.controlsocket /var/run/ekeyd.sock",
+ }
+}