Jon Bendtsen wrote:
UUID is not enough.
I would rather that the emails like the one quoted below would include as much
information as possible or maybe configureable.
smartctl -i /dev/sds
fdisk -l /dev/sds
...
sg_inq /dev/sds
This could be done by a custom script run via '-M exec' directive.
...
The following warning/error was logged by the smartd daemon:
Device: /dev/sds [SAT], Self-Test Log error count increased from 2 to 3
For details see host's SYSLOG.
This sample output is outdated. Starting with smartmontools 6.0 (October
2012), the warning mails include device identify info (Model, S/N, WWN,
FW, Size).