Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19207: mk_inventory: Remove spurious output from timestamp handling

Component Checks & agents
Title mk_inventory: Remove spurious output from timestamp handling
Date May 18, 2026
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p4 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The Windows agent plugin mk_inventory.ps1 could emit unwanted text into the agent output when the timestamp file could not be created (for example due to missing permissions or a missing state directory). The return value of the internal CreateTimestamp function was unconditionally written to standard output, so any error message ended up in the agent data stream and could interfere with parsing on the Checkmk site.

Starting with this release, the return value is only used for flow control and is no longer written to the agent output. If the timestamp is too young the plugin exits silently; in all other cases execution continues without emitting diagnostic text.

To the list of all Werks