From 2f41b9eaf6275d6d222efec626ba41edf0e76332 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 5 Jun 2013 15:36:21 -0300 Subject: Configuring apc_nis munin plugin --- manifests/subsystem/ups.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/subsystem') diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp index d304418..9802d26 100644 --- a/manifests/subsystem/ups.pp +++ b/manifests/subsystem/ups.pp @@ -21,6 +21,14 @@ class nodo::subsystem::ups( batterylevel => $batterylevel, minutes => $minutes, } + + # Graph local UPS + munin::plugin { apc_nis: + ensure => $nisip ? { + '127.0.0.1' => present, + default => absent, + } + } } } } -- cgit v1.2.3