diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-07 15:24:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-07 15:24:05 -0300 |
commit | d97d630f5dc6933f11b9cc93e197c40fba0aed8a (patch) | |
tree | fb9dc9f7cb611dd021b67c0edfb6377e1404d940 /manifests/base | |
parent | aff8517a0a22a65224324c3ac90bd9a9b25a842f (diff) | |
download | puppet-nodo-d97d630f5dc6933f11b9cc93e197c40fba0aed8a.tar.gz puppet-nodo-d97d630f5dc6933f11b9cc93e197c40fba0aed8a.tar.bz2 |
Setting up sensors_ munin plugins
Diffstat (limited to 'manifests/base')
-rw-r--r-- | manifests/base/physical.pp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/manifests/base/physical.pp b/manifests/base/physical.pp index b2f2fcd..f2ab477 100644 --- a/manifests/base/physical.pp +++ b/manifests/base/physical.pp @@ -1,14 +1,23 @@ class nodo::base::physical inherits nodo::base::host { class { [ 'nodo::subsystem::ups', 'smartmontools' ]: } - # SMART monitoring + # SMART and sensors monitoring $munin = hiera('nodo::host::use_munin', True) if $munin == true { include munin::plugins::smart + munin::plugin { 'smart_sda': ensure => 'smart_', config => "user root\ngroup disk", } + + package { 'lm-sensors': + ensure => present, + } + + munin::plugin { [ 'sensors_fan', 'sensors_volt', 'sensors_temp' ]: + ensure => 'sensors_', + } } # Entropy key |