2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/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_ Fixed type in dm-cache 2014-11-23 21:08:33 +03:00
dm_cache_statistics_ Fixed type in dm-cache 2014-11-23 21:08:33 +03:00
du spelling fixes (2nd try) 2017-04-17 22:43:38 +02:00
du_multidirs Convert to UNIX line breaks 2014-10-04 19:53:20 +02:00
du_pattern Set /bin/bash as interpreter for bash script 2014-10-04 19:52:22 +02:00
du-2 Fix du-2 to use clean_fieldname() 2018-03-28 11:43:28 +00:00
e2 added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
file_age add file_age plugin by Edward Plainview <it@sverigedemokraterna.se> 2012-02-27 23:56:56 -08:00
freedisk - have some dirs 2012-02-13 18:24:46 +01:00
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 - have some dirs 2012-02-13 18:24:46 +01:00
linux_diskstat_ Fix Odd number of elements in hash at linux_diskstat_ line 321 2018-07-18 13:22:27 -05:00
log_sizes - have some dirs 2012-02-13 18:24:46 +01:00
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 - have some dirs 2012-02-13 18:24:46 +01:00
md_iostat_ typofixes - https://github.com/vlajos/misspell_fixer 2015-03-02 11:51:38 +00:00
megaraid-controller-information fix example comment with proper wildcard examples 2014-01-29 21:23:12 -05:00
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 reverted freedisk plugin to show abs used values to disk, would be better to see line growing until the upper limit to the area (total size) 2013-08-23 14:03:40 +02:00
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