bundles/smartd: unit names have changed
This commit is contained in:
parent
14ec3c0ee2
commit
d0825a51ee
2 changed files with 5 additions and 7 deletions
|
@ -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': {},
|
||||
}
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue