Werk #19192 · Mar 24, 26
Windows agent: disable WinDbg logging by default
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
Previously, the Windows agent sent all log messages to the Windows debugging interface (WinDbg / OutputDebugString) by default. This meant that on every production host running the Checkmk agent, log output was continuously written to the debug sink — even when no debugger was attached and nobody was monitoring it.
This behavior is undesirable in production environments for two reasons: first, OutputDebugString has a non-trivial overhead when a debugger is attached, and second, it exposes internal agent log messages to any process that listens on the debug output channel (e.g. DebugView, WinDbg).
WinDbg logging is now disabled by default. It can be re-enabled explicitly
by setting windbg: yes under global.logging in the agent configuration
file, which is appropriate for development and debugging scenarios.
Installations that relied on WinDbg or DebugView capturing agent output by
default must explicitly set windbg: yes in the agent configuration after
upgrading.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b2All Editions
- 2.4.0p26All Editions