From d2df5ac9d7dc5bf499e7f3574a51c4f76b0f9064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=BCllhorst?= Date: Wed, 21 Aug 2024 08:28:18 +0200 Subject: [PATCH] Updated nvidia poller app: handle slightly changed nvidia-smi output formatting properly (#16158) --- includes/polling/applications/nvidia.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/applications/nvidia.inc.php b/includes/polling/applications/nvidia.inc.php index e996d0724b..2373aea245 100644 --- a/includes/polling/applications/nvidia.inc.php +++ b/includes/polling/applications/nvidia.inc.php @@ -33,7 +33,7 @@ $metrics = []; foreach ($gpuArray as $index => $gpu) { $stats = explode(',', $gpu); $stats_count = count($stats); - if ($stats_count == 22) { + if ($stats_count == 22 || $stats_count == 23) { [$gpu, $pwr, $temp, $memtemp, $sm, $mem, $enc, $dec, $jpg, $ofa, $mclk, $pclk, $pviol, $tviol, $fb, $bar1, $ccpm, $sbecc, $dbecc, $pci, $rxpci, $txpci] = $stats;