Disabling specific service does not work

Good day, since we don’t have Internet access on our hosts, the Systemd Service summary will return a CRIT for the service fwupd-refresh .
I attempted to disable checking for this service, i created a new rule under
Setup → Services → Service Discovery Rules → Disabled Services
by simply checking the Services checkbox, and adding a rule ’ Service name begins with fwupd-refresh
I have a different rule about timesync:

  • Service name begins with Systemd Timesyncd Time which seems to just work.

However, after applying the rule changes and even re-scheduling the service, it still appears as a CRIT error in the CRIT services list. How can i, DEFINETELY, disable this fwupd-refresh service which naturally keeps failing because i don’t have internet?
The complete service row now looks like this:
[Systemd Service Summary]
Total: 157, Disabled: 4, Failed: 1, 1 static service failed (fwupd-refresh)CRIT

Hi,

you have to edit the rule “systemd services summary”.
There you can set “Exclude units matching provided regex patterns:” to fwupd-refresh

If you enter fwupd-refresh in the disabled services rule, checkmk expects that to be the service name of the service you want to disable.
But the service in question is “Systemd Service Summary” where you only want to disable a certain systemd service and not the whole service itself.

Your hint helped me solving the problem, thanks!

1 Like