2020-11-29 11:07:27 +00:00
|
|
|
files = {
|
|
|
|
'/etc/smartd.conf': {
|
|
|
|
'content_type': 'mako',
|
|
|
|
'triggers': {
|
|
|
|
'svc_systemd:smartd:reload',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'/usr/local/share/icinga/plugins/check_smart': {
|
|
|
|
'mode': '0755',
|
|
|
|
},
|
2022-08-07 08:16:07 +00:00
|
|
|
'/usr/local/sbin/telegraf-smartd': {
|
|
|
|
'source': 'telegraf_plugin',
|
|
|
|
'mode': '0755',
|
|
|
|
},
|
2020-11-29 11:07:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
svc_systemd = {
|
|
|
|
'smartd': {
|
|
|
|
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
|
|
|
|
},
|
|
|
|
}
|