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': {
|
'/etc/smartd.conf': {
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
'triggers': {
|
'triggers': {
|
||||||
'svc_systemd:smartd:reload',
|
'svc_systemd:smartmontools:reload',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'/usr/local/share/icinga/plugins/check_smart': {
|
'/usr/local/share/icinga/plugins/check_smart': {
|
||||||
|
@ -15,7 +15,5 @@ files = {
|
||||||
}
|
}
|
||||||
|
|
||||||
svc_systemd = {
|
svc_systemd = {
|
||||||
'smartd': {
|
'smartmontools': {},
|
||||||
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,12 +3,12 @@ defaults = {
|
||||||
'packages': {
|
'packages': {
|
||||||
'smartmontools': {
|
'smartmontools': {
|
||||||
'needed_by': {
|
'needed_by': {
|
||||||
'svc_systemd:smartd',
|
'svc_systemd:smartmontools',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'nvme-cli': {
|
'nvme-cli': {
|
||||||
'needed_by': {
|
'needed_by': {
|
||||||
'svc_systemd:smartd',
|
'svc_systemd:smartmontools',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -17,7 +17,7 @@ defaults = {
|
||||||
'smartd': {
|
'smartd': {
|
||||||
'services': {
|
'services': {
|
||||||
'SMARTD PROCESS': {
|
'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