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

100 Commits

Author SHA1 Message Date
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
Keith Nash
470e6e5811 Update README.md 2017-07-08 09:41:05 -05:00
Keith Nash
c38812ca71 Update README.md 2017-07-08 09:04:26 -05:00
Keith Nash
34748ff4e1 Added optional IPMI support for CPU temperatures 2017-07-08 09:01:05 -05:00
Keith Nash
3b087cad62 Check for missing CPU temp as a string instead of arithmetically 2017-06-30 13:05:03 -05:00
Keith Nash
904221e2b9 Changed method of parsing CPU temperature
Use awk to parse the CPU temperature: former method sliced off part of the temperature on systems with 10 or more CPUs.
2017-05-13 11:01:07 -05:00
Keith Nash
2904638584 Displays drive capacity and formatting handles 10 or more CPUs 2017-05-13 07:53:44 -05:00
Keith Nash
fd36c34e4d Adds disk capacity to the output
Shows the disk capacity in the output, plus the formatting now accommodates systems with 10 or more CPUs.
2017-05-13 07:51:38 -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
281e9cbf81 Fixed incorrect character in report header 2017-04-05 10:06:05 -05:00
Keith Nash
724642a2e4 Added fragmentation to report header section 2017-04-04 09:20:45 -05:00
Keith Nash
bbb1cea46e Added fragmentation to report header section 2017-04-04 09:17:05 -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
9be08e309f Update save_config.sh 2017-03-28 00:00:49 -05:00
Keith Nash
28ebb3250c Update README.md 2017-03-27 19:37:17 -05:00