Commit Graph

50 Commits

Author SHA1 Message Date
Franco Fichtner c48d31be34 sysutils/smart: also add link 2024-10-09 08:55:59 +02:00
Franco Fichtner c4eb416554 sysutils/smart: repair breakage 2024-10-09 08:53:27 +02:00
Franco Fichtner c00f0ac007 sysutils/smart: can change version now 2024-09-27 16:08:04 +02:00
Franco Fichtner 2ccfa77efe sysutils/smart: fix ACL lint complaints 2024-09-27 16:07:36 +02:00
franciscodimattia 1233676ed1 Update Smart.js to use detailed API (#4257) 2024-09-27 16:04:01 +02:00
Franco Fichtner 539193d14b sysutils/smart: fix ACL 2024-09-13 12:39:23 +02:00
Franco Fichtner c86e31a0d0 sysutils/smart: widget needs a rework
I'd rather emulate the old network which used the
detailed list backend call.  Funnel this through
the API on request but no time to do this now.
2024-09-11 16:55:18 +02:00
Franco Fichtner 4924b27526 sysutils/smart: get read for next release 2024-09-11 06:42:40 +02:00
franciscodimattia 5a02d3867d Create Smart widget XML (#4215) 2024-09-05 22:14:38 +02:00
Franco Fichtner 7270d91ecf sysutils/smart: bump revision 2024-08-14 11:01:59 +02:00
ImAPerson 016bf27cb5 smart nvd to nda (#4173)
FreeBSD 14 changed from the nvd driver to the nda driver for x86. This change modifies the smart service to utilize the new driver name on the UI and the backend script that pulls the smartctl code (thanks @jbilac!). Issue https://github.com/opnsense/plugins/issues/4155
2024-08-12 07:44:53 +02:00
Franco Fichtner ad9cdc3eab sysutils/smart: bump revision 2024-01-02 08:38:16 +01:00
Russ Kubes f6f3248912 sysutils/smart: add word break to ident in widget (#3726)
Add word-breaking to the "Ident" column of the SMART Dashboard widget, to prevent long device names from causing the table to extend outside of the widget's div.
2023-12-28 08:44:06 +01:00
Franco Fichtner 1eb1b19cdf Revert "sysutils/smart: use `smartctl --scan' as disk source; closes #3236"
This reverts commit f37375f4b8.
2023-09-29 08:22:02 +02:00
Franco Fichtner f37375f4b8 sysutils/smart: use `smartctl --scan' as disk source; closes #3236 2023-06-29 09:30:38 +02:00
Justin Horton 79c485c337 sysutils/smart: Don't color WHEN_FAILED column header (#3333) 2023-05-04 08:11:58 +02:00
Franco Fichtner efade39416 License: pick up missing, remove vague attribution, sort better 2022-10-27 09:06:58 +02:00
Franco Fichtner 64ba7429d2 sysutils/smart: bump version 2021-03-29 09:48:43 +02:00
Ad Schellevis 6e50ef903a os-smart: simplify https://github.com/opnsense/plugins/pull/2289 a bit. 2021-03-22 11:32:51 +01:00
Arnavion 8749029e76 os-smart: Add new action and API parameter for JSON info from smartctl.
- The existing `smart info.*` actions have been merged into one `smart info`
  action that takes the type as a parameter.

- There is now a `smart info_json` action that runs the same `smartctl` command
  with an additional `--json=c` parameter for JSON output.

- The `/api/smart/service/info` API now takes an optional `"json": true`
  request body parameter that changes the response `"output"` value from
  a string to a JSON object. The JSON object is the output of
  the `smart info_json` action.

Fixes #2283
2021-03-21 10:20:10 -07:00
Franco Fichtner 360eb16b0f sysutils: revision bump 2021-02-15 10:38:02 +01:00
Franco Fichtner 0c1ef6e79d sysutils/smart: bump revision after changes 2021-01-25 08:35:52 +01:00
Jacek Tomasiak 7d1048d281 os-smart: Re-add descriptions for cron actions (#2117)
The "description" fields were removed to not flood the UI with duplicate
items but some of them are actually useful for cron.
Descriptions for actions related to tests were re-added with unique
content to enable periodic SMART tests via cron.
2021-01-14 19:43:18 +01:00
Franco Fichtner 18bc32f3b3 plugins: serious style sweep 2020-02-13 10:42:37 +01:00
Franco Fichtner 8f2805ef58 plugins: PSR12 for "s" and "w" 2019-10-07 21:40:59 +02:00