summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
new file mode 100644
index 0000000..46b75bd
--- /dev/null
+++ b/manifests/munin.pp
@@ -0,0 +1,20 @@
+class apcupsd::munin(
+ $ensure = present
+) {
+ munin::plugin::deploy { 'apc_nis':
+ source => "apcupsd/munin/apc_nis",
+ ensure => $ensure,
+ }
+
+ # From http://munin-monitoring.org/browser/munin-contrib/plugins/ups/apcupsd_ww
+ munin::plugin::deploy { 'apcupsd_ww':
+ source => "apcupsd/munin/apcupsd_ww",
+ ensure => absent,
+ }
+
+ # From https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/ups/apcupsd_pct
+ #munin::plugin::deploy { 'apcupsd_pct':
+ # source => "apcupsd/munin/apcupsd_pct",
+ # ensure => $ensure,
+ #}
+}