Skip to content

Truenas scale ElectricEel-24.10.1 compatibility #27

@gpz1100

Description

@gpz1100

Been using smart_report.sh for a number of year including up to 24.04.2 (dragonfish). As of build 24.10.10 (electric eel), sendmail has been depreciated.

To work around, there's another project - https://github.com/oxyde1989/standalone-tn-send-email, which is a wrapper of sorts for truenas's built in email function.

To use this project, the only change I had to make to smart_report.sh was replace the sendmail line at the bottom of the script with

python3 sendmail.py --subject "SMART Status Report for ${freenashost}" --to_address ${email} --mail_body_html $logfile > /dev/null 2>&1

This assumes the python script from above is in the same directory as smart_report.sh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions