check-linux-by-ssh
check-linux-by-ssh copied to clipboard
check_disk_stats: allow to work with newer kernels
Newer kernel might export more values via /proc/diskstats, because of the multiple assignment, this will produce a "ValueError: too many values to unpack". Use an index on the data instead of a huge multiple left assignment.
Signed-off-by: Alexander Couzens [email protected]