FS#61306 - [munin-node] Since linux 4.19 the diskstats plugin no longer works

Attached to Project: Arch Linux
Opened by Christian Wolf (christianlupus) - Tuesday, 08 January 2019, 14:31 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 10 December 2019, 17:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since Linux V.4.19 the output of `/sys/block/*/stat` might be of 11 (old behaviour) or optionally of 4 additional (15 in total) columns. The current implementation in Archlinux does not accept the 15 column version and makes the plugin crash.

The problem was already solved upstream: https://github.com/munin-monitoring/munin/commit/a913c523976bb13b2a34968ee5fe3b55d2b0918f

According to github the commit is already present in the upstream stable release. As a result it should sufficient to upgrade to the most recent stable release.

Additional info:
* munin and munin-node version: 0.26-5

Steps to reproduce:
Simply running `munin-run diskstats` results in an error message instead of the actual values reported from the kernel.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 10 December 2019, 17:25 GMT
Reason for closing:  Fixed
Comment by Christian Wolf (christianlupus) - Tuesday, 08 January 2019, 14:36 GMT
This bug report is related to munin-node package.

I file this as a bug report as the package was flagged out-of-date almost 2 years ago and now it bites the user as a functionality no longer works with recent linux kernels.

Loading...