1
0
mirror of https://github.com/Spearfoot/FreeNAS-scripts synced 2025-12-06 01:23:19 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Keith Nash
7470b353bd Minor formatting changes 2021-10-06 11:07:44 -05:00
marunjar
8e22ba9709 inte 545s fixes (#15)
add checks for additional smart attibutes
2020-12-10 11:39:56 -06:00
Keith Nash
b4b886d7ce Modify to discover older SATA drives
Modified algorithm to detect older SATA drives that don't return the SATA version when queried.
2020-08-05 23:11:46 -05:00
Keith Nash
6b7d19c938 Modified formatting
Changed formatting to accommodate lengthier command timeout values and enhanced the drive identifier to include vendor, model, family, etc.
2020-07-03 13:56:27 -05:00
Keith Nash
335085177f Enhancements for new SAS support
Added counts for the SATA and SAS drive lists and modified the code to gracefully emit either or both types in the report.
2020-07-03 12:39:25 -05:00
TechHome
8ba42e8828 Added SAS compatibility and other improvements (#13)
* Added SAS compatibility and other improvements

Added SAS compatibility and other improvements

* Update smart_report.sh

* Update smart_report.sh

* Replaced egrep to grep -E - egrep is depreaced
2020-07-03 08:44:29 -05:00
Keith Nash
05df97e889 Added /dev/ specifier to drive enumeration example. 2020-03-24 07:54:19 -05:00
Keith Nash
18dcee70b5 Prevent wrapping and linebreaks on whitespace (#11)
Some "responsive" web e-mail clients are too aggressive and wrap the text within <pre> tags.  I ran into this with the Yahoo! mail client on Android.  This PR prevents this issue.
2020-03-04 17:02:51 -06:00
Keith Nash
3cf8fd4b4a Fixed email issues on FreeNAS 11.3 2020-02-29 10:44:32 -06:00
Keith Nash
004f89e132 Changed formatting to allow 24-character serial numbers 2019-05-26 12:00:39 -05:00
Keith Nash
bdfa2efcab Modified to support 24-character serial numbers 2019-05-26 11:44:44 -05:00
Soloam
5cb7fab90c Add Indicator of what field is Warning (#6)
I like to look at my email and in a second see what is wrong! Sometimes I get a Warning or Critical Sign and I have to look at all the table, or open my scrip, to see what parameter is out off bounds. So I added a small char to warn me about what column triggered the error/warning.
2019-05-04 06:22:51 -05:00
Keith Nash
87b39f6031 Added last test age to warnings 2017-04-08 14:28:40 -05:00
Keith Nash
01b9debdf4 Added last test age information 2017-04-08 14:19:26 -05:00
Keith Nash
f96db93eed Refined temperature detection to use "190 Airflow_Temperature" if "194 Temperature" is absent 2017-04-05 22:22:33 -05:00
Keith Nash
aa2ce1067e Nail down disk temp selection by using "194 Temperature_Celsius" 2017-04-03 11:46:22 -05:00
Keith Nash
34367abe83 Fix sendmail bug for compatibility with Corral 2017-03-21 13:25:19 -05:00
Keith Nash
61131a31bb POSIX-compliant version 2017-03-20 23:20:58 -05:00
Keith Nash
97a42fab46 Consistent if and do code formatting 2017-03-19 10:53:09 -05:00
Keith Nash
4c88117152 Original version 2017-03-15 16:30:56 -05:00