⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@mayrstefan
Copy link
Contributor

General information

It looks like NVIDIA is deprecating the power_state XML-Element in it's nvidia-smi output. We need to allow the deprecation message as a valid input when parsing the the nvidia_smi section.

Bug reports

See report in https://forum.checkmk.com/t/parsing-of-section-nvidia-smi-failed/56724)

From the crash file:

  • OS: Ubuntu 22.04.5 LTS
  • Checkmk version: 2.4.0p10
  • Detailed steps to reproduce the bug use the attachment from the forum post:
  1. create dummy host
  2. use a data source program for this host with cat nvidia_smi_plugin_out.txt

Looks like nvsmi_device_v13.dtd allows a deprecation message for the power_state element: <power_state>Requested functionality has been deprecated</power_state>

This is unexpected for Checkmk which causes a crash when parsing the section.

Proposed changes

  • What is the expected behavior: accept the deprecation message and proceed parsing the section
  • What is the observed behavior: it crashes
  • Is this a new problem? What made you submit this PR (new firmware, new device, changed device behavior)? New version of nvidia-smi cli

@mayrstefan
Copy link
Contributor Author

Any updates? When can we expect this issue being addressed?

@msprdctmgr
Copy link

msprdctmgr commented Jan 18, 2026

Hi @mayrstefan , thanks for checking in. Apologies that it took some time to get back to you; mainly it was due to the end of year and vacation period. A developer will take a look at this PR in the upcoming sprint and we will get back to you with an update.

@CheckmkCI CheckmkCI closed this in 01cc611 Jan 21, 2026
CheckmkCI pushed a commit that referenced this pull request Jan 21, 2026
NVIDIA is deprecating the power_state XML Element in its nvidia-smi output.
This allows the deprecation message as a valid input when parsing the the nvidia_smi section.

Closes: #882

CMK-28473

Change-Id: Ib5b982d5c39017c6f6c6b4f3cbac44f4f60725be
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2026
CheckmkCI pushed a commit that referenced this pull request Jan 21, 2026
NVIDIA is deprecating the power_state XML Element in its nvidia-smi output.
This allows the deprecation message as a valid input when parsing the the nvidia_smi section.

Closes: #882

CMK-28473

Change-Id: Ib5b982d5c39017c6f6c6b4f3cbac44f4f60725be
@NotANormalNerd
Copy link
Contributor

Changes have been merged into master, 2.5.0 and 2.4.0. You can check on the release status here: https://checkmk.com/werk/19132

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants