The service you want to be ignored in called exactly ‘corosync-qdevice.service’?
Even though you defined it in the rule, it’s still shown as Failed?
How it works is that if a service is matched by the regex pattern defined in the rule, it will be added to services_organised[“excluded”]. In your case, it may not be picked up because the of the ‘.’ in the pattern.
Okay, thanks! That gives some room to investigate further.
The funny thing is - This check actually never worked as designed. For the failed services it always had an OK state, which should not have been the case.
Give me a couple of hours and I will come back to you with something.
That’s wrong - it worked as it should. If you had a failed service the check goes critical. If you have a failed service and set this service to ignore than it was OK.
What should not have worked before? I have around 3k Linux machines here today and it is working fine.
Hey @andreas-doehler,
Would you mind having a super short call? Looks like you are right, but I want to understand why the service is not included in 'services_organised[“excluded”].
Thanks!
Due to the fact of above i will postpone upgrading to said version.
Even tho a patch ( in the form of an .MKP) has been provided i think its better to wait for a/the next release.
Hey Andreas,
Would you mind testing this MKP out? systemd_units-0.0.2.mkp (7.9 KB)
This one should ideally address all of the issues you mentioned in your comment.
Looks good - no error message on a host where the regex problem was existing.
Now it shows 1 failed and 1 ignored service and stays OK as the failed service is the ignored one. I will have a look today on a bigger system if it is the same there.