I am looking to monitor Disk IO error, is there any way to monitor it.. Currently we have filtered disk related hardware error message like below format and same output is redirected into splunk readable log file. we are monitoring error message if that log file contains “I/O error” string. Command which we used to convert hardware message into splunk readable format: # dmesg -L -T| grep -iE "I/O error"|tr -d '['| awk -F']' '{print $1 "," $2}' Thu Oct 1 00:01:00 2020, blk_update_request: I/O error, dev fd0, sector 0 Fri Oct 2 00:01:00 2020, blk_update_request: I/O error, dev fd0, sector 0 Fri Oct 2 00:01:00 2020, blk_update_request: I/O error, dev fd0, sector 0 But this is not the feasible way to monitor as this command don't work on all linux version, so is there any default app available to monitor Disk I/O error.
... View more