#976096 munin-plugins-core: acpi plugins does not support 'fetch' argument

Package:
munin-plugins-core
Source:
munin
Submitter:
Ludovic Rousseau
Date:
2023-03-21 20:39:10 UTC
Severity:
normal
Tags:
#976096#5
Date:
2020-11-29 17:16:36 UTC
From:
To:
Hello,

I use munin-node-c instead of munin-node.
The plugins are called with the argument 'fetch' or 'config'.

The acpi plugin does not handle the 'fetch' argument and returns
nothing.

$ /usr/share/munin/plugins/acpi
thermal_zone0.value 26.8
$ /usr/share/munin/plugins/acpi fetch
$

I propose the patch:
--- /usr/share/munin/plugins/acpi	2019-05-16 01:21:08.000000000 +0200
+++ acpi	2020-11-29 17:55:14.533609387 +0100
@@ -56,6 +56,10 @@
 fi


+do_fetch () {
+    do_
+}
+
 do_ () { # Fetch
     for ZONE in $ATZ; do
          TEMP=$(cat "$ZONE/temp")
@@ -93,7 +97,7 @@
 }

 case $1 in
-    config|autoconf|'')
+    config|autoconf|fetch|'')
 	"do_$1"
 esac


I wanted to report the problem upstream but I could not find an acpi
plugin in https://github.com/munin-monitoring/munin/tree/master/plugins/node.d.linux

I also could not find an acpi plugin in version 2.999.15-3 available in
experimental.
It looks like the acpi plugin has been deprecated and removed.
In that cas you can just ignore this bug report.

Thanks

#976096#10
Date:
2023-03-21 20:38:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
munin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 976096@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated munin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 21 Mar 2023 21:08:22 +0100
Source: munin
Architecture: source
Version: 2.0.73-1
Distribution: unstable
Urgency: medium
Maintainer: Munin Debian Maintainers <team+munin@tracker.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 976096 991622
Changes:
 munin (2.0.73-1) unstable; urgency=medium
 .
   * New upstream release. Closes: #991622, #976096.
Checksums-Sha1:
 9c44804502065e15c6b346a942952ca24b9bc00b 3139 munin_2.0.73-1.dsc
 ad040ac7b31ab1cb552467d0b28460712ef9602f 2252776 munin_2.0.73.orig.tar.gz
 49ef65998e790b926948a02940a6295e32c91e32 833 munin_2.0.73.orig.tar.gz.asc
 748d9e6ec1791b7b9d1c27874ab04e160fc82c2a 66120 munin_2.0.73-1.debian.tar.xz
 297dfbe43c0d7aa957d04c16c3b2e06621e9c85d 5871 munin_2.0.73-1_source.buildinfo
Checksums-Sha256:
 c8aaadc5fbf89fd011ecff69b7f6bd146970759a78b8047559c0c8114cdc8941 3139 munin_2.0.73-1.dsc
 027853d848206d6f1b06c230baeb2b28a47915f8b73a0aad4f18d497c840350a 2252776 munin_2.0.73.orig.tar.gz
 79451c9672c34e0260ac819278a55d59d4324aa2c6113a4764161213a1ed739d 833 munin_2.0.73.orig.tar.gz.asc
 a844d914ec8d3a2378dcaf2750ba876a7c63e82952e326f4d2a033c1011db929 66120 munin_2.0.73-1.debian.tar.xz
 ee88d9f754b4ca1df1146da2e00d40f4cfba9801a5ec62b6d176d0ee69b4c34f 5871 munin_2.0.73-1_source.buildinfo
Files:
 16f259379e6e2d9e3b3349e0bdd4d05f 3139 net optional munin_2.0.73-1.dsc
 18624f3f384e179f798e7a5c67a4df4c 2252776 net optional munin_2.0.73.orig.tar.gz
 7b2ba7a2fc1fe882570ecc002d49f303 833 net optional munin_2.0.73.orig.tar.gz.asc
 1db95c0bbe2aab412cd49dc52e4ac643 66120 net optional munin_2.0.73-1.debian.tar.xz
 089fcb8e8c83e83b36839a050c2fd562 5871 net optional munin_2.0.73-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmQaEgMACgkQCRq4Vgaa
qhxu/hAAkxJ++AC/75kmVD8bpz8Ux1POMthNfZd0ADqTKoMG3vL+77sGfNUqcI8G
ZHC+XP53jIHM46JwusqOdMtAl8u8ZCqRQC6T1v5KsfbEIHyNnXqENpPFpA2r/BYX
acngH2MKT7Fgs5RDJSoCW2CZnSPIYxZUS64814GQbJudrd+CYZ4L2X2QxKKPYzaO
PGNrQ8wQ91jqFrybU7jFzTlEsOU3GtrZbUD583nmbOZYZsSLv/6tQqUIkLTlwmaQ
T7RVSWCofjTefqXt9EAYVFrESyQoiZfcQOnIh/f4L+EDJQaKsmaT0rH827viM+00
B03oYzi7cXFgpjpVGMMLQRPlxUWW7T0fX//FE251f67jADVNhh7Rbtr9gLHK2MKD
qMSUFfL6u0nV8irT/HRuq8mjgkZuW1NBJ84kN2EEgtw6GgAIq+LhZrQ1yIb7+MR2
RODBbxY7t2kzqUObkSqMth08TaI79SzO9wHXMmRtBgp5PWA30WRApU181egGCG77
v4i992U7sKwV4EACo9lU8X2+zl9f7NkRUd7gidd50mEGRkIkLosSedpl3YZjmcFp
ZZ++eZ0Ajztt8+6OH5va+G9mExzzeGjvsF8StxJPBWB3nOJWwyrn/CUJ2w8WUFEG
NU+EBYo8hNN/wrOOqq/a/UIWElCSlzWyBQ5ze6LR6Bz/pF0JsxM=
=SAXa
-----END PGP SIGNATURE-----