summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-11-07 12:44:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-11-07 12:44:20 -0200
commit5b22bfc8eaa6bdf0917bd303ddc83174878a199e (patch)
tree980da04bb64866ee868f599b4b2ab2698d520eae
parent11c915f80897fc788f0ccc3a086c06b0c437c1f6 (diff)
downloadpuppet-apcupsd-5b22bfc8eaa6bdf0917bd303ddc83174878a199e.tar.gz
puppet-apcupsd-5b22bfc8eaa6bdf0917bd303ddc83174878a199e.tar.bz2
Disabling apcupsd_ww
-rw-r--r--files/munin/apcupsd_ww18
-rw-r--r--manifests/munin.pp3
2 files changed, 10 insertions, 11 deletions
diff --git a/files/munin/apcupsd_ww b/files/munin/apcupsd_ww
index 96083af..9a6d024 100644
--- a/files/munin/apcupsd_ww
+++ b/files/munin/apcupsd_ww
@@ -122,15 +122,15 @@ my $language = $ENV{LANG} || 'en';
warning => [ '+-10%', '108:128' ],
critical => [ 'LOTRANS:HITRANS', '+-15%', '104:132' ],
},
- NOMPOWER => { # NOMPOWER
- name => 'outputwatts',
- label => {
- en => 'Nominal power output in Watts',
- },
- nominal => [ 'NOMPOWER', '0,1500' ],
- warning => 1200,
- critical => 1300,
- },
+ #NOMPOWER => { # NOMPOWER
+ # name => 'outputwatts',
+ # label => {
+ # en => 'Nominal power output in Watts',
+ # },
+ # nominal => [ 'NOMPOWER', '0,1500' ],
+ # warning => 1200,
+ # critical => 1300,
+ #},
ITEMP => { # ITEMP : 44.1 C Internal
name => 'temperature',
label => {
diff --git a/manifests/munin.pp b/manifests/munin.pp
index ad6d6d4..74f6947 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -1,7 +1,6 @@
class apcupsd::munin(
$ensure = present
) {
- # TODO: disable this in the future as apcupsd_ww is more flexible
munin::plugin::deploy { 'apc_nis':
source => "apcupsd/munin/apc_nis",
ensure => $ensure,
@@ -10,6 +9,6 @@ class apcupsd::munin(
# From http://munin-monitoring.org/browser/munin-contrib/plugins/ups/apcupsd_ww
munin::plugin::deploy { 'apcupsd_ww':
source => "apcupsd/munin/apcupsd_ww",
- ensure => $ensure,
+ ensure => absent,
}
}