summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-12 09:39:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-12 09:39:14 -0300
commitba7e3d48315b5fdcd66b5546565a3e06a71cc422 (patch)
treead844b76a6a8e9ec2132d499466e8a09f7756914 /manifests
parent930ce96d0854487a29c73ecca775f3ea2769a1ab (diff)
downloadpuppet-apcupsd-ba7e3d48315b5fdcd66b5546565a3e06a71cc422.tar.gz
puppet-apcupsd-ba7e3d48315b5fdcd66b5546565a3e06a71cc422.tar.bz2
Adding apcupsd::munin
Diffstat (limited to 'manifests')
-rw-r--r--manifests/munin.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
new file mode 100644
index 0000000..df1e6a3
--- /dev/null
+++ b/manifests/munin.pp
@@ -0,0 +1,14 @@
+class apcupsd::munin(
+ $ensure => present,
+) {
+ munin::plugin::deploy { 'apc_nis':
+ source => "apcupsd/munin/apc_nis" ,
+ ensure => $ensure,
+ }
+
+ # We might want to replace the debian plugin with a newer one which better
+ # maximum limits: http://munin-monitoring.org/browser/munin/plugins/node.d/apc_nis.in
+ munin::plugin { 'apc_nis':
+ ensure => $ensure,
+ }
+}