bundles/smartd: unit names have changed

This commit is contained in:
Franzi 2023-07-13 21:30:29 +02:00
parent 14ec3c0ee2
commit d0825a51ee
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 7 deletions

View file

@ -2,7 +2,7 @@ files = {
'/etc/smartd.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:smartd:reload',
'svc_systemd:smartmontools:reload',
},
},
'/usr/local/share/icinga/plugins/check_smart': {
@ -15,7 +15,5 @@ files = {
}
svc_systemd = {
'smartd': {
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
},
'smartmontools': {},
}

View file

@ -3,12 +3,12 @@ defaults = {
'packages': {
'smartmontools': {
'needed_by': {
'svc_systemd:smartd',
'svc_systemd:smartmontools',
},
},
'nvme-cli': {
'needed_by': {
'svc_systemd:smartd',
'svc_systemd:smartmontools',
},
},
},
@ -17,7 +17,7 @@ defaults = {
'smartd': {
'services': {
'SMARTD PROCESS': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit smartd',
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit smartmontools',
},
},
},