Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22084: cmk_site_statistics: don't crash when the site reports no core PID

Component Checks & agents
Title cmk_site_statistics: don't crash when the site reports no core PID
Date Jul 31, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p11 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The OMD <site> statistics service could go to UNKNOWN with "check failed - please submit a crash report!", the crash report showing KeyError: 'nagios_pid'.

The check adds the core process ID as an informational notice, falling back to an older field name for sites from before Checkmk 1.6. That fallback was looked up even when it was not needed, so the service crashed on any site that does not report the old field, as well as on sites whose status data arrived incomplete.

The core PID is now looked up without the crash, and the notice is left out entirely when the site does not report a PID. Everything else the service reports is unaffected.

To the list of all Werks