Jeremy Gardais
|
5ec0d0c8ee
|
Manage case of scan doesn't return any result
|
2020-02-20 15:55:29 +01:00 |
Jeremy Gardais
|
3258881a0f
|
Add info if the type/device isn't supported
|
2020-02-20 15:37:50 +01:00 |
Jeremy Gardais
|
b589528e03
|
Fix individual redirection with { cmd1; cmd2; }
Consider using { cmd1; cmd2; } >> file instead of individual redirects.
See : https://github.com/koalaman/shellcheck/wiki/SC2129
|
2020-02-20 15:35:33 +01:00 |
Jeremy Gardais
|
b05d10771c
|
Manage case of an empty file with smartctl results
|
2020-02-20 14:47:33 +01:00 |
Jeremy Gardais
|
fb1094308d
|
Determine the right TYPE between scanned and auto
|
2020-02-20 14:36:02 +01:00 |
Jeremy Gardais
|
3b016ae797
|
Set clear status if SMART is not supported
|
2020-02-20 11:18:18 +01:00 |
Jeremy Gardais
|
26d6b06c86
|
Add a function to test SMART support on a disk
|
2020-02-19 18:33:15 +01:00 |
Jeremy Gardais
|
cbf0d8afb0
|
Comment and small fixes
|
2020-02-19 16:00:36 +01:00 |
Jeremy Gardais
|
fcf945748b
|
Fix useless use of cat
https://github.com/koalaman/shellcheck/wiki/SC2002
https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
See also : https://github.com/koalaman/shellcheck/wiki/SC2189
|
2020-02-19 15:24:41 +01:00 |
Jeremy Gardais
|
a210b7bb38
|
Fix $/${} is unnecessary on arithmetic variables
https://github.com/koalaman/shellcheck/wiki/SC2004
|
2020-02-19 15:23:28 +01:00 |
Jeremy Gardais
|
19afed7c2e
|
Fix Use $(...) notation instead of legacy backticked
https://github.com/koalaman/shellcheck/wiki/SC2006
|
2020-02-19 15:22:09 +01:00 |
Jeremy Gardais
|
393f9996d2
|
Get disk list from smartctl scan
|
2020-02-19 11:18:25 +01:00 |
Jeremy Gardais
|
681d1ee0c3
|
Init smart plugin from xymon.com
https://www.xymon.com/xymon-cgi/viewconf.sh?smart
|
2020-02-19 09:52:32 +01:00 |