Package: munin-plugins-core Version: 2.0.47-1 Severity: important Tags: upstream newcomer patch
The diskstat_ plugin does not work with the 4.19 kernel in testing:
'/sys/block/sda/stat' doesn't contain exactly 11 values. Aborting at
/etc/munin/plugins/diskstat_iops_sda line 505, <STAT> line 1.
main::read_sysfs("sda") called at /etc/munin/plugins/diskstat_iops_sda
line 530
main::parse_diskstats("sda") called at
/etc/munin/plugins/diskstat_iops_sda line 561
main::fetch_device_counters("sda") called at
/etc/munin/plugins/diskstat_iops_sda line 331
Changing 11 to 15 will fix it, so I think that this could be fixed with:
- croak "'$stats_file' doesn't contain exactly 11 values. Aborting"
- if ( @elems != 11 );
+ croak "'$stats_file' doesn't contain at least 11 values. Aborting"
+ if ( @elems < 11 );
--
ciao,
Marco
signature.asc
Description: PGP signature

