Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truenas scale ElectricEel-24.10.1 compatibility #27

Open
gpz1100 opened this issue Jan 12, 2025 · 1 comment
Open

Truenas scale ElectricEel-24.10.1 compatibility #27

gpz1100 opened this issue Jan 12, 2025 · 1 comment

Comments

@gpz1100
Copy link

gpz1100 commented Jan 12, 2025

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.

@Spearfoot
Copy link
Owner

Thank you! I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants