1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-11-25 19:47:02 +00:00
Munin-Contrib/plugins/disk
Samuel Smith 37b533a5c3 Fix Odd number of elements in hash at linux_diskstat_ line 321
Reading from /sys/block/*/stat does not provide the disk major and minor
numbers (versus reading from /proc/diskstats). When saving the disk data
back to a temp state file, these empty values for the disk major and
minor numbers get turned into undef values on state restore.

On the line: `my ( $prev_time, %prev_diskstat ) = restore_state();`

`%prev_diskstat` will 'slurp' up all returned values from the function
call (converting the list into key value pairs) but if one of last
values is from the major or minor number (which will be undef), the key
(major or minor) will be sent but the undef value will not be
sent. Hence this results in an attempted hash assignment where one of
the key values pairs is missing a value and thus the 'Odd number of
elements in hash assignment ' warning is thrown.
2018-07-18 13:22:27 -05:00
..
example-graphs replace the example graph for quota2percent_ 2017-02-19 23:15:24 +01:00
btrfs_subvol_usage added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
df_with_nfs typofixes - https://github.com/vlajos/misspell_fixer 2015-03-02 11:51:38 +00:00
dirsizes spelling fixes (2nd try) 2017-04-17 22:43:38 +02:00
disk-io-multigraph-munin-plugin Category Tree: Reduce number of categories 2017-02-21 15:09:54 +01:00
dm_cache_occupancy_
dm_cache_statistics_
du spelling fixes (2nd try) 2017-04-17 22:43:38 +02:00
du-2 Fix du-2 to use clean_fieldname() 2018-03-28 11:43:28 +00:00
du_multidirs
du_pattern
e2 added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
file_age
freedisk
hdsentinel added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
hp_temp Plugin-Gallery: Get better 2nd level headings 2017-02-24 18:29:14 +01:00
hpasmcli2_ Plugin-Gallery: Get better 2nd level headings 2017-02-24 18:29:14 +01:00
iostat-xfrs
linux_diskstat_ Fix Odd number of elements in hash at linux_diskstat_ line 321 2018-07-18 13:22:27 -05:00
log_sizes
lvm_ fix - add clean_fieldname to make field name safe 2016-07-05 23:38:47 +09:00
lvm_snap_used fix - add clean_fieldname to make field name safe 2016-07-05 23:38:47 +09:00
lvm_usage
md_iostat_ typofixes - https://github.com/vlajos/misspell_fixer 2015-03-02 11:51:38 +00:00
megaraid-controller-information
megaraid-hdd-temperature-using-megacli Plugin-Gallery: Get better 2nd level headings 2017-02-24 17:30:35 +01:00
quota2percent_ added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
raid count failed disks and report critical warning 2018-01-28 15:28:00 +01:00
raid-mismatch-count disk/raid-mismatch-count better config: added .info per device 2016-05-15 17:53:19 +02:00
scsi_queue typofixes - https://github.com/vlajos/misspell_fixer 2015-03-02 11:51:38 +00:00
snmp__areca_ Plugin-Gallery: Get better 2nd level headings 2017-02-24 18:29:14 +01:00
snmp__hp_temp Plugin-Gallery: Get better 2nd level headings 2017-02-24 18:29:14 +01:00
useddisk
xfs Category Tree: Reduce number of categories 2017-02-20 23:35:10 +01:00
xfs_frag Category Tree: Reduce number of categories 2017-02-20 23:35:10 +01:00