Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 1be2d3c59b65cc7a4959da463cd16dc807cf163b
https://github.com/Checkmk/checkmk/commit/1be2d3c59b65cc7a4959da463cd16dc80…
Author: Luka Racic <luka.racic(a)checkmk.com>
Date: 2024-09-23 (Mon, 23 Sep 2024)
Changed paths:
A .werks/17036.md
M agents/check_mk_agent.linux
M tests/unit/cmk/plugins/collection/agent_based/test_heartbeat_crm.py
Log Message:
-----------
17036 FIX heartbeat_crm: Handle cases when pacemaker service is not running
The creation of the agent section depended on the pacemaker service being running. If this
was not the case, the section was left empty, causing the services to become stale.
From now on, if the pacemaker service is not running, the service will go into CRIT state
and the summary will indicate that the connection was not possible/refused.
Also, the agent now checks for the existence of 'crm_mon' on the system, as this
is a prerequisite for further command execution.
SUP-19573
Change-Id: I956f78411ffda122101b0076bc7ee643ee7983d4
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications