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

116 Commits

Author SHA1 Message Date
cocide
06ccffb971 Use numeric values for CPU temperature (#23)
Fixes Spearfoot/FreeNAS-scripts#20 and Spearfoot/FreeNAS-scripts#21
2022-09-04 16:53:11 -05:00
Keith Nash
7470b353bd Minor formatting changes 2021-10-06 11:07:44 -05:00
Keith Nash
46165dcf4e Added security warning to the config scripts 2021-09-15 14:24:27 -05:00
Keith Nash
904a022a10 Update save_config.sh 2021-08-06 13:24:44 -05:00
Keith Nash
affda8bc4c Update README.md 2021-08-06 13:12:40 -05:00
Keith Nash
c54fdc928f Update README.md 2021-08-06 12:54:51 -05:00
Keith Nash
276de00a7e Upload improved version
Updated version creates tarball needed for restoring configurations on TrueNAS/FreeNAS
2021-08-06 12:14:10 -05:00
Keith Nash
9601c07cfe Changed encryption/decryption examples 2021-03-08 21:10:51 -06:00
Keith Nash
862784e5b6 Update save_config_enc.sh 2020-12-16 16:18:42 -06:00
Keith Nash
3e96e64cff Update README.md 2020-12-16 16:14:51 -06:00
Keith Nash
a0890586fb Adapt to use OpenSSL 1.1.1 features
Modified to use new OpenSSL 1.1.1 features provided with TrueNAS 12.x
2020-12-16 16:07:03 -06:00
Keith Nash
8560712f73 Modify to handle longer scrub times
Modify parsing of zpool status output to accommodate users with scrub times > 24 hours
2020-12-16 14:47:17 -06:00
marunjar
8e22ba9709 inte 545s fixes (#15)
add checks for additional smart attibutes
2020-12-10 11:39:56 -06:00
Keith Nash
befa2c5fe4 Update README.md 2020-10-27 14:24:24 -05:00
Keith Nash
7ec70381ce Updated to reflect support for TrueNAS 2020-10-27 14:23:28 -05:00
Keith Nash
e0952813b5 TrueNAS 12.0 2020-10-26 20:04:39 -05:00
Keith Nash
2bcb7a7178 Modify to work with TrueNAS 12.0 2020-10-26 20:02:25 -05: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.
1.0.0
2020-08-05 23:11:46 -05:00
Keith Nash
e7b9761b91 Added additional OpenSSL command example 2020-07-07 16:44:36 -05:00
Keith Nash
f575d9c7de Update README.md
Added SAS support to the SMART report script.
2020-07-03 14:30:01 -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
bb991d6f63 Update to reflect changes to save_config_enc.sh 2020-06-25 11:35:36 -05:00
Keith Nash
c30a04f0e4 Updates and improvements
Modified OpenSSL options used to the encrypted tarball. Use SQLite procedures to create and verify the backup configuration file.
2020-06-25 11:02:36 -05:00
Keith Nash
05df97e889 Added /dev/ specifier to drive enumeration example. 2020-03-24 07:54:19 -05:00
Keith Nash
9d4e709147 Change pre whitespace handling 2020-03-04 17:46:38 -06:00
Keith Nash
5a222759b5 Modified to fix email problems on FreeNAS 11.3 2020-03-04 17:44:35 -06: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
20d979f3ad Fixed email issues on FreeNAS 11.3 2020-02-29 10:45:26 -06:00
Keith Nash
3cf8fd4b4a Fixed email issues on FreeNAS 11.3 2020-02-29 10:44:32 -06:00
Keith Nash
2a23e526ba Update README.md
Added information regarding support for additional controllers to the smart_report.sh description.
2020-02-09 08:18:24 -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
geraldh
f049158b58 get_hdd_temp.sh: fixes for SAS drives (#8)
* fixes for SAS drives

* remove debug output
2018-07-21 18:41:08 -05:00
Keith Nash
10e6f7d1fa Modifications in support of FreeNAS 11.1
Changed parsing of zpool command output to correctly extract the scrub date and errors, using uname command as suggested by Chris Moore.
2017-12-18 17:02:07 -06:00
Keith Nash
5020f4f5e1 Update README.md 2017-07-26 10:26:34 -05:00
Keith Nash
687f130879 Update get-system-temps.pl 2017-07-26 10:25:30 -05:00
Keith Nash
95993bdb5e Update README.md
Added first Perl script
2017-07-26 10:25:03 -05:00
Keith Nash
c214543b5f Initial submission
Perl script for reporting CPU and drive temperatures
2017-07-26 10:12:19 -05:00
Keith Nash
4b190b04b3 Update README.md 2017-07-26 09:52:20 -05:00
max023
9ba66c9633 Fix CPU temp when returned value is not an integer in get_hdd_temp.sh (#2)
* Fix CPU temp when returned value is not an integer in get_hdd_temp.sh

* Small update to CPU temp fix
2017-07-16 06:38:35 -05:00
Keith Nash
22998dc858 Update README.md 2017-07-10 18:28:31 -05:00
Keith Nash
77774614dd Update README.md 2017-07-10 18:05:42 -05:00
Keith Nash
aaae0f54aa Update README.md 2017-07-10 17:42:48 -05:00
Keith Nash
2aa238cd37 Save configuration file, optionally emailing it as an encrypted tarball 2017-07-10 16:38:45 -05:00
Keith Nash
87f546d4ae Update README.md 2017-07-08 09:50:40 -05:00
Keith Nash
186e6aa894 Update README.md 2017-07-08 09:49:58 -05:00
Keith Nash
dd5a499839 Added optional IPMI support for CPU temperatures 2017-07-08 09:43:57 -05:00