Hallo Rookie62
den Link für die Statusmail :
http://www.synology-wiki.de/index.php/Statusmail_von_der_Diskstation
Dann kannst du z.B die Änderung bzw. die Ergänzung mit einfließen lassen.
HDDType1=`/usr/syno/bin/smartctl -i /dev/hda | grep -m 1 Model | awk '{print $4}'`
HDDType2=`/usr/syno/bin/smartctl -i /dev/hdb | grep -m 1 Model | awk '{print $4}'`
hours1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Power_On_Hours | /usr/bin/awk '{print $10}'`
hours2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Power_On_Hours | /usr/bin/awk '{print $10}'`
Read_Raw_Error1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Raw_Read_Error_Rate | /usr/bin/awk '{print $10}'`
Read_Raw_Error2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Raw_Read_Error_Rate | /usr/bin/awk '{print $10}'`
temperatur1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Temperature_Celsius | /usr/bin/awk '{print $10}'`
temperatur2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Temperature_Celsius | /usr/bin/awk '{print $10}'`
Current_Pending_Sector1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Current_Pending_Sector | /usr/bin/awk '{print $10}'`
Current_Pending_Sector2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Current_Pending_Sector | /usr/bin/awk '{print $10}'`
Multi_Zone_Error_Rate1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Multi_Zone_Error_Rate | /usr/bin/awk '{print $10}'`
Multi_Zone_Error_Rate2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Multi_Zone_Error_Rate | /usr/bin/awk '{print $10}'`
Seek_Error_Rate1=`/usr/syno/bin/smartctl -A /dev/hda | /bin/grep Seek_Error_Rate | /usr/bin/awk '{print $10}'`
Seek_Error_Rate2=`/usr/syno/bin/smartctl -A /dev/hdb | /bin/grep Seek_Error_Rate | /usr/bin/awk '{print $10}'`
[HDD 1] Type: $HDDType1
$temperatur1 Grad Celsius
$hours1 Stunden Laufzeit
$Read_Raw_Error1 Read_Raw_Error
$Current_Pending_Sector1 Current_Pending_Sector
$Multi_Zone_Error_Rate1 Multi_Zone_Error_Rate
$Seek_Error_Rate1 Seek_Error_Rate
[HDD 2] Type: $HDDType2
$temperatur2 Grad Celsius
$hours2 Stunden Laufzeit
$Read_Raw_Error2 Read_Raw_Error
$Current_Pending_Sector2 Current_Pending_Sector
$Multi_Zone_Error_Rate2 Multi_Zone_Error_Rate
$Seek_Error_Rate1 Seek_Error_Rate
Ich hoffe ich konnte dir etwas helfen.
Gruß Homer