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