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
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
8456ac43c6
commit
295ff72b4b
7 changed files with 878 additions and 0 deletions
20
bundles/smartd/items.py
Normal file
20
bundles/smartd/items.py
Normal 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
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue