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

Werk #20123: mkp add/inspect: Report unreadable files instead of failing silently

Component Checks & agents
Title mkp add/inspect: Report unreadable files instead of failing silently
Date Jul 29, 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

Previously, mkp add and mkp inspect exited silently -- no output at all -- if the given file could not be read. Both commands now tell you what went wrong, for example:

Cannot read file /tmp/coolstuff.mkp: [Errno 13] Permission denied: '/tmp/coolstuff.mkp'

The exit code was, and still is, 1 in these cases.

To the list of all Werks