I need help with some behaviour I do not understand. I have a FreeIPA server that I am monitoring with Check_MK. Now I tried to verify, if the monitoring alerts when the service ipa.service fails. Long story short: It does not.
My suspicion is, that the “Systemd Service Summary” Check does not respect this unit. The raw client output shows 278 units, ipa.service is one of them and the state is failed. But the check_mk only shows a total of 100 units.
So my questions are:
How does Check_MK decide, which unit it is going to monitor within the “Systemd Service Summary” Check?
How can I see what is currently in the list of the units actually moinitored?
What are my possibilities to influence this list of units?
What I already tried is to create a “Systemd single services” rule. The rule appears on the list of host rules, so it should apply, but nothing happens further…
the rule you are showing is not what you expect. This rule is to map the systemd unit state to a specific state at checkmk. The filled fiel Name of the service is in this particular case misleading, because its referred to the service name in checkmk (like Memory, CPU utilization, Interface %s, and so on).
The systemd service summary should tell you, if there are any units in a not OK state, as far as i checked the source code. So i would expect your system service summary to be CRIT if the unit ipa.service is failed.
Can you share a screenshot of a service which has a failed ipa.service and also provide your exact checkmk version?
Yes, this is my problem. It does not turn into red. I placed intentionally a config error to have this service in a failed state. The CheckMK Service state I posted before is exactly with this systemd service state on the server:
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.