Werk #17544: WMI checks don't crash on Timeout
Component | Checks & agents | ||||||
Title | WMI checks don't crash on Timeout | ||||||
Date | Jun 2, 2025 | ||||||
Level | Trivial Change | ||||||
Class | New Feature | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
Previously, some WMI based checks, such as msexchange
and dotnet_clrmemory
, would crash and generate a crash
report if a WMI timeout occurred. Since WMI timeouts are
expected to happen occasionally, this behavior was not
appropriate. Moreover, these crash reports provided no
useful diagnostic information and only cluttered the
disk.
Now, instead of crashing, all WMI based checks will
correctly handle the timeout by skipping the data,
eventually setting the service state to STALE,
thus making WMI monitoring uniform and consistent.