Closed mr-each closed 4 months ago
Please attach a dumpfile (report.sh -dc report.cfg
) so I can see what might be happening.
Here you go dumpfile.zip
@mr-each I do not see anything obvious at first glance; can you export the email as a pdf and attach it, please.
It seems to be skipping a for code block which, since it relies on the same array as the earlier HDD summary table does not make a lot of sense to me. Can you do a manual run with -x
set for the bash parent and post that output here (as a txt file) so I can see exactly what it is doing?
OMG... I was trying to debug the script with the most stupid way I know - print smth in console, when I noticed that the code in my report.sh is not the same as in yours.
TL;DR I was using v1.8. Got the v1.8.1 and everything works now. I am sorry for being so dumb 😅
Hello there!
Running TrueNAS-SCALE-23.10.2, RaidZ1 5 drives wide with only 4 drives connected, all Seagate HDDs.
I'm getting a proper zpool and SMARTs summary, zpool status reports for individual pool but no SMART statuses for individual drive. I can get desired output via
smartctl -H -A -l error /dev/DRIVE
. Have daily SMART tests configured, if it is related. Am I missing something, or SMART status for each drive should not be visible in e-mail by default? I've played with "includeSSD" and "includeSAS" options, but had no success.