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

Werk #19879: nvidia_smi: don't crash when no GPU is found

Component Checks & agents
Title nvidia_smi: don't crash when no GPU is found
Date May 13, 2026
Level Trivial 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
2.4.0p30 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

When the agent host had nvidia-smi installed but no GPU was currently visible to the driver (the Linux plugin then forwarded No devices were found), or when nvidia-smi.exe was not installed at the path the Windows agent plugin searches (the plugin forwarded a not found in: error block), the agent emitted a plain-text message instead of the expected XML. The nvidia_smi section then crashed with ParseError: syntax error: line 1, column 0 and produced a crash report on every check cycle.

The check now treats a non-XML body as an empty section: no nvidia_smi services are reported for the affected host, and no crash report is generated.

To the list of all Werks