diff options
Diffstat (limited to 'manifests/subsystem')
-rw-r--r-- | manifests/subsystem/ups.pp | 8 |
1 files changed, 8 insertions, 0 deletions
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, + } + } } } } |