🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4535

Bug#1154005: cacti: Script server for lmSensors returned incorrectly scaled values (regression in 1.2.31)

#4535
From: Norman Rasmussen
Date: Sun, 15 Nov 2026 02:40
103 lines
7125 bytes
Package: cacti
Version: 1.2.31+ds1-4
Severity: normal
Tags: patch

In 1.2.31 the ss_netsnmp_lmsensors script was included in the upstream
sources (previously only available on a 3rd party site). Unfortunately
the import also included a bug (not present in the upstream sources)
where the voltage and temperature values are not correctly scaled.

Reported upstream: https://github.com/Cacti/cacti/issues/7403
Fixed upstream: https://github.com/Cacti/cacti/pull/7983

Only the scripts/ss_netsnmp_lmsensors.php changes are required to fix
_this_ bug (if I apply them manually then everything works as expected).

Thanks

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'stable-updates'), (650, 'stable-security')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 6.10.11-686-pae (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cacti depends on:
ii  composer                            2.11.1-1
ii  dbconfig-common                     2.1.0
ii  dbconfig-mariadb [dbconfig-mysql]   2.1.0
ii  debconf [debconf-2.0]               1.5.92
ii  fonts-dejavu-core                   2.37-9
ii  fonts-dejavu-extra                  2.37-9
ii  javascript-common                   12+nmu1
ii  libapache2-mod-php                  2:8.4+101
ii  libapache2-mod-php8.4 [php-json]    8.4.27-1
ii  libjs-chart.js                      3.9.1+~cs3.1.2-4
ii  libjs-jquery                        3.7.1+dfsg+~3.5.33-1
ii  libjs-jquery-colorpicker            1.2.21-1
ii  libjs-jquery-cookie                 12-4
ii  libjs-jquery-hotkeys                0.2.0-1
ii  libjs-jquery-jstree                 3.3.17+dfsg1-1
ii  libjs-jquery-metadata               12-4
ii  libjs-jquery-tablesorter            1:2.31.3+dfsg1-5
ii  libjs-jquery-timepicker             1.6.3-7
ii  libjs-jquery-ui                     1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-smoothness    1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-south-street  1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-ui-darkness   1.14.2+dfsg-1
ii  libjs-jquery-ui-touch-punch         0.0~git20141218.2.4bc0091+dfsg1-4.1
ii  libphp-phpmailer                    7.1.1-1
ii  node-d3                             5.16.0+~cs5.28.10-6
ii  node-dompurify                      3.4.17+dfsg-1
ii  node-fortawesome-fontawesome-free   7.3.1+ds1-1
ii  node-ua-parser-js                   2.0.10+ds+~cs0.3.5-1
ii  perl                                5.42.3-1
ii  php                                 2:8.4+101
pn  php-cli                             <none>
ii  php-gd                              2:8.4+101
ii  php-gmp                             2:8.4+101
ii  php-json                            2:8.4+101
ii  php-ldap                            2:8.4+101
ii  php-mbstring                        2:8.4+101
ii  php-mysql                           2:8.4+101
ii  php-phpmyadmin-motranslator         5.4.0-3
ii  php-phpseclib3                      3.0.58-2
ii  php-snmp                            2:8.4+101
ii  php-twig                            3.30.0-1
ii  php-xml                             2:8.4+101
ii  php8.4 [php]                        8.4.27-1
ii  php8.4-cgi [php-json]               8.4.27-1
ii  php8.4-cli [php-json]               8.4.27-1
ii  php8.4-gd [php-gd]                  8.4.27-1
ii  php8.4-gmp [php-gmp]                8.4.27-1
ii  php8.4-ldap [php-ldap]              8.4.27-1
ii  php8.4-mbstring [php-mbstring]      8.4.27-1
ii  php8.4-snmp [php-snmp]              8.4.27-1
ii  php8.4-xml [php-xml]                8.4.27-1
ii  rrdtool                             1.9.0-2.1+b3
ii  snmp                                5.9.5.2+dfsg-3
ii  ucf                                 3.0056

Versions of packages cacti recommends:
ii  apache2 [httpd]        2.4.69-1
ii  iputils-ping           3:20250605-1
ii  logrotate              3.22.0-1
ii  mariadb-server-compat  1:11.8.9+ds-4

Versions of packages cacti suggests:
pn  cacti-spine  <none>
ii  moreutils    0.70-1
ii  snmpd        5.9.5.2+dfsg-3

-- debconf information excluded

-- debsums errors found:
debsums: changed file /var/lib/cacti/scripts/ss_netsnmp_lmsensors.php (from cacti package)
Technical Details
Message-ID: <NZyjT-bX8n-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Norman Rasmussen <norman@darkskies.za.net>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154005: cacti: Script server for lmSensors returned incorrectly scaled values (regression in 1.2.31)
Date: Sun, 15 Nov 2026 03:40:01 +0100
Message-ID: <NZyjT-bX8n-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 15 02:31:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Norman Rasmussen <norman@darkskies.za.net>, 1154005@bugs.debian.org
Original-Sender: Norman Rasmussen <normanr@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: cacti@packages.debian.org
X-Debian-Pr-Message: report 1154005
X-Debian-Pr-Package: cacti
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: cacti
X-Gm-Message-State: APuU4Z/1DJJs858bly+jbIWvpPFQ/PuytO4W1tJNh5YCSaw2mtDYk9Yp
	9RksNeIQk3uf/G1OCFt4r2Sl3tI0WuVWbYI8qTdj2AG7nh9b+UWGbdCY
X-Gm-Gg: AYBFou31QimIycSOtRez8hTaktFYQXV7Egmd/uk1rBk0W9k+SxgN1ay+JrbUtzZN93Z
	pXszdd7JEbxS6wLFddIPZHezpF5rs4y0mqbtu4ImQgSHujm+96BkdW9ibnDcZLpm675KbnXuQkD
	vM7fm//bzIqOWxopyq5qtVrfC8YjnYMQEIM/F2/bMMVahgYMv88jemDonxm65czo8CnHc0OMGuT
	bpDFcFOcnINyQIWxwHGOvwbXUO3NYwVv4FtXg3OfZoV7PdOl0yTcPil5exrMzeotsCW2W0I9z7q
	E6q7w1m57dFdRzSh1KaJzSMVV1Oe2XMSgv8P7F8+q+3Lqtm9apZdQlG1GBxdUacpOi04DR+mY1V
	PpbyQdh0QWB+i0yD9eG632rdYIOz1OkyNq55oHRSEz0dpbnhV/gYotfOnMJaDR3BA6pCDU6sihT
	FtkrXn+MOk59tz8RlPfNIB5Q650rx8dMx6F8o5xdbRhYeG7smxeHfCApNQ1xxzn0+62DhE2uxar
	3WJc0Fh9sp1Me0qcbPwzowJtQoQzdRfDN5saZga7W6Mfu2KNCY6fW6xTKYIzg5H8PO9RVLMxZMK
	OMiC+DGp9uFpaIJltY72+xobDU7Kc7flRm0EDgqzqyoL9V18f6snfY5Lwk8=
X-Received: by 2002:a05:693c:600a:b0:36a:180f:3154 with SMTP id 5a478bee46e88-3796628e9afmr6629305eec.18.1794709766545;
        Sat, 14 Nov 2026 18:29:26 -0800 (PST)
Sender: robomod@news.nic.it
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002650
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 103
Organization: linux.* mail to news gateway
X-Original-Date: Sat, 14 Nov 2026 18:29:23 -0800
X-Original-Message-ID: <179470976389.21793.8580228820116273128.reportbug@darkflame.darkskies.za.net>
X-Original-Sender: Norman Rasmussen <normanr@gmail.com>