diff --git a/bundles/smartd/items.py b/bundles/smartd/items.py index 540a6a9..e18270f 100644 --- a/bundles/smartd/items.py +++ b/bundles/smartd/items.py @@ -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': {}, } diff --git a/bundles/smartd/metadata.py b/bundles/smartd/metadata.py index 63af59a..fca64eb 100644 --- a/bundles/smartd/metadata.py +++ b/bundles/smartd/metadata.py @@ -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', }, }, },