2Shirt
e56647ed48
Fix drive report for aborted tests
2018-10-03 23:30:21 -06:00
2Shirt
117a47e94c
Refactored DB connection sections
...
* Connect for each post instead of once per session
* Restart the SSH tunnel if it was closed
* Avoid issue where the connection(s) were broken by aborting Prime95
2018-10-03 23:25:15 -06:00
2Shirt
1b5e05b81a
Use different thresholds for HDDs and SSDs
...
* Fixes issue #22
2018-10-03 19:43:53 -06:00
2Shirt
7b57329dee
Post drive details for skipped devices
2018-10-03 13:55:30 -06:00
2Shirt
08768424f0
Post Prime95 results for aborted tests
2018-10-03 13:54:58 -06:00
b7dc524096
Include ticket number in log
2018-10-01 19:46:08 -06:00
83984cd6ee
Adjust used space report for osTicket
...
* Include volume total, used, and free space
* Space using dots for improved readability
* Adjust total size notation to match other sizes
2018-10-01 19:43:02 -06:00
6854d5bad7
Adjust NVMe test status logic
...
* If the quick check is ok then the normal check is also ok
* (Because there's no NVMe short test as there is in SMART)
2018-10-01 19:40:21 -06:00
6c37c344ce
Prevent crash in hw_diags when testing NVMe drives
2018-10-01 19:36:19 -06:00
7e78eb5dca
Respect ENABLE_OPEN_LOGS global variable
2018-10-01 19:35:46 -06:00
0d35d81b97
Include used space in disk reports for osTicket
...
* Used space info is not included if the drive failed the test(s)
2018-10-01 13:00:21 -06:00
0fae4128ed
Adjusted Prime95 osTicket report
...
* Post report regardless of result
2018-09-29 13:25:10 -06:00
f35869b2b0
Fix crash when running the quick drive test
2018-09-28 14:03:55 -06:00
aa1fda8ac4
Show test results in osTicket report
...
* Fixes issue #19
2018-09-28 13:43:18 -06:00
dc8f48a6b4
Update post_drive_results() to use new I/O Status
2018-09-28 13:32:48 -06:00
91b7149f93
Merge remote-tracking branch 'upstream/dev' into dev
2018-09-28 13:29:58 -06:00
c43ba34cbf
Differentiate between not-run and unknown results
2018-09-27 21:00:00 -06:00
a17c83e5f3
Merge remote-tracking branch 'upstream/dev' into dev
2018-09-25 21:24:16 -06:00
5e73583e00
Mark declined overrides as "Skipped"
...
* NS should be reserved for known failures not unknown/questionable states
2018-09-25 12:33:11 -06:00
4b16ec6095
Adjusted Prime95 countdown
2018-09-25 12:24:47 -06:00
d4f24eafb6
Fix issue #55
2018-09-25 12:17:38 -06:00
6c4381c3a5
Include percent with rates in "raw" I/O log
2018-09-25 12:15:28 -06:00
4979fbe927
Taller I/O horizontal graph
...
* Inceases fidelity to 32 steps
2018-09-25 11:52:24 -06:00
9689f5aa15
Adjusted I/O chunk size and graph scale
2018-09-25 11:51:22 -06:00
e9d65fe29b
Enable direct I/O for I/O Benchmark
...
* Really this should've been enabled earlier
* Also increased chunk size
2018-09-24 17:49:20 -06:00
7506cd017b
PNG graph export and uploads working
2018-09-24 17:47:52 -06:00
4206afe0c3
Disabled osticket_needs_attention()
...
* The flag has been repurposed in osTicket
2018-09-24 15:45:52 -06:00
aec3e8208c
New osTicket report layout
...
* Block character graph has been reduced to one line
* A PNG graph is exported using gnuplot
* The graph is uploaded to imgur and a link is included in the report
* The graph is also uploaded to the BENCHMARK_SERVER for redundancy
2018-09-24 02:27:02 -06:00
ba06b7d635
Increased height of horizontal I/O graph
...
* Allows for 32 steps of accuracy
* Adjusted curve to max out around 750 Mb/s
2018-09-20 15:57:53 -06:00
d46ae18045
Establish SSH tunnel before connecting to SQL DB
...
* Also added disconnect_from_db() function.
2018-09-20 14:53:17 -06:00
462a87b1ce
Adjusted ticket selection confirmation
2018-09-20 12:50:13 -06:00
146244d3fd
Adjusted osTicket post formatting
2018-09-20 12:02:08 -06:00
aae7c1d543
Allow diabling osTicket integration per run
2018-09-20 00:58:21 -06:00
dd13f7bd24
Adjusted osTicket drive report formatting
2018-09-20 00:50:32 -06:00
9698cfbf6d
Initial osTicket drive report section
...
* Formatting is off, need to remove ASCII color escapes
2018-09-20 00:35:05 -06:00
580d1de915
Finished Prime95 osTicket reply section
...
* NOTE: A reply is not posted for Aborted tests or Unknown results
2018-09-18 21:48:15 -06:00
1d88c57be8
Adjust Prime95 countown message
2018-09-18 20:43:09 -06:00
5edde45f0e
Get osTicket number and verify with name in ticket
2018-09-18 20:33:33 -06:00
58dead2382
Added osTicket DB functions
...
* osticket_needs_attention()
* osticket_reply()
* osticket_set_drive_result()
2018-09-18 19:55:36 -06:00
555a661e92
Added connet_to_db() function to hw-diags.py
...
* Uses new main.py variables
* Only runs if non-quick drive test(s) are selected
2018-09-18 16:14:46 -06:00
e3aaa887c5
Countdown the minutes remaining during Prime95
...
* Fixes issue #54
2018-09-17 14:15:19 -06:00
35fd50771c
Update hw_diags.py systemctl command syntax
...
* Now it matches the wk-power-command style
2018-09-15 17:50:54 -06:00
9a093ace9c
Moved 'Scanning disks...' message in hw_diags.py
...
* (Re)fixes issue #46
2018-09-15 15:47:47 -06:00
56e354f124
Avoid crash described in issue #39
2018-09-12 16:15:15 -06:00
83064d7c90
Fix issue #46
2018-09-12 15:54:36 -06:00
9f12f2c856
Added SMART 199/C7 warning/override to HW-Diags
2018-09-12 15:39:28 -06:00
8fec6fc5b9
Save raw I/O read rates in log
2018-09-12 14:46:04 -06:00
793581ac22
Rewrote I/O benchmark sections
...
* Displays graph during test and in summary
* Reduce test area to speedup the benchmark
* Addresses issues #48 & #49
2018-09-09 19:41:46 -06:00
84d7207d90
(Re)Add SMART values 196 and 199
...
* Value is only displayed, no additional aborts
2018-08-31 15:32:01 -06:00
a12a591279
Moved SMART sections to a separate script
...
* Refresh rate is now handled by 'watch --interval'
* Allows for much simpler ddrescue execution / tracking
* Removed all 'SMART Report' sections from functions/ddrescue.py
* functions/hw_diags.py has been further extended
* Supports full device paths (only for displaying attributes ATM)
* Adds a timestamp when only displaying attributes
2018-07-17 21:05:37 -06:00