bundles/smartd: introduce, add to hosts where *we* need to keep track of disk health
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-29 12:07:27 +01:00
parent 8456ac43c6
commit 295ff72b4b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 878 additions and 0 deletions

20
bundles/smartd/items.py Normal file
View file

@ -0,0 +1,20 @@
files = {
'/etc/smartd.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:smartd:reload',
},
},
'/usr/local/share/icinga/plugins/check_smart': {
'mode': '0755',
},
}
svc_systemd = {
'smartd': {
'needs': {
'pkg_apt:smartmontools',
},
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
},
}