The 'sendmail' command used in several scripts is 'broken' as of FreeNAS version 11.3-RELEASE. I have submitted a bug report and will post here again when/if the bug is fixed and I've modified the GitHub repository.
zpool output changed from FreeNAS version 11.0 to 11.1, breaking our parsing of the scrubErrors and scrubDate variables in the zpool_status.sh script. Added a conditional to check the FreeNAS version and parse these values accordingly.
We obtain the FreeBSD version using uname, as suggested by user Chris Moore here on the FreeNAS forum.
uname -K gives 7-digit OS release and version, e.g.:
Added a Perl script (get-system-temps.pl) to my FreeNAS-scripts repository on GitHub. The script provides functionality similar to the get_hdd_temp.sh shell script, including optional support for IPMI.