For that, just ensure you have smartmontools installed and configured to do regular (say, weekly) surface scans of the media.

Cheers