diff options
-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 |