Werk #18093: agent_graylog: Return WARN status in CheckMK Agent service if Graylog API is unreachable

Component Checks & agents
Title agent_graylog: Return WARN status in CheckMK Agent service if Graylog API is unreachable
Date May 26, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p34 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The Graylog special agent now exits with a non-zero status when the Graylog API is unreachable. This causes the CheckMK Agent service to report a CRIT state, ensuring users are notified of connectivity issues. Previously, the agent exited with code 0 regardless of API availability, leading to false-positive OK states even when Graylog was down.

To the list of all Werks