Commit graph

54 commits

Author SHA1 Message Date
Franco Fichtner
e3bf36a2ec plugins: remove a few of my historic maintainerships
These plugins have had maintainership attached due to the fact
that they became plugins at one point in time.  Since we can now
annotate this better, do it.
2025-12-04 09:19:37 +01:00
Franco Fichtner
dc0d1c32a3 sysutils/smart: new version 2025-08-13 10:02:26 +02:00
poisonbl
09cfdf639a
Add Extended info (smartctl -x) for os-smart plugin. (#4508) 2025-08-13 09:24:26 +02:00
Franco Fichtner
cff07b0401 sysutils/smart: add errors:no here too 2025-05-07 08:20:20 +02:00
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
Alexander Shursha
806ed989df os-smart: remove duplicate descriptions. (#1468) 2019-08-29 08:22:34 +02:00
Franco Fichtner
6ee1662386 sysutils/smart: consistency is futile #1384 2019-08-23 13:55:55 +02:00
Franco Fichtner
790ab7652f sysutils/smart: nvd vs. nvme #1384 2019-08-23 13:26:32 +02:00
Franco Fichtner
0d02c2aa64 sysutils/smart: to be honest, if the kernel says it's a disk...
... don't ask diskinfo to let it ask the kernel if the disk exists.  ;)
2019-08-23 10:37:56 +02:00
Franco Fichtner
1a3517ec8a sysutils/smart: update style on previous, simplify 2019-08-23 10:22:26 +02:00
ATL
eb6e584beb fixes SMART Status "unknown" in the smart widget and more... (#1429)
* fixes SMART Status "unknown" in the smart widget

This fixes the "Unable to detect device typ" of smartctl, because it needs the full path to the device (e.g. /dev/ada0). As second it removes white space from start of $state variable before return, which let it match in the right way in the smart_status.widget.php. And as last the additional diskinfo command let the script skip devices, where disking exits with the error 'failed, probably not a disk.'.

* replace device listing

replace fixed device pattern with list of disk devices detected by kernel
2019-08-23 10:06:47 +02:00
Franco Fichtner
8aad34a47e sysutils/smart: minor tweaks on previous 2019-08-23 10:03:23 +02:00
nhirokinet
8f09bce27b SMART dashboard widget to display correct status (#1428) 2019-08-23 09:48:56 +02:00
Franco Fichtner
94a1dbc1eb *: release a few things 2019-07-14 17:56:36 +02:00
Franco Fichtner
56119ddd59 sysutils/smart: single quotes in translation 2019-03-12 07:10:06 +01:00
Franco Fichtner
57a98384f1 sysutils/smart: style and directory change 2019-01-13 16:59:02 +01:00
Sergey Kirpa
50d6842989 Smart refactoring (#1081)
Smart plugin uses MVC. Changes agreed with Smart-Soft.
2019-01-13 16:44:51 +01:00
Fabian Franz BSc
f0d2a2edb0 sysutils/smart: fix coloring for themes; "s/\t/ /g"; cleanup php (#957) 2018-11-05 19:23:43 +01:00
Fabian Franz
1dfd76c558
sysutils/smart: style fixes; cleanup 2018-07-29 16:18:52 +02:00
Fabian Franz BSc
7c634371f5
Fix diag smart (#715)
* sysutils/smart: fix php syntax; code cleanup; gettext
* use bootstrap classes for themes
* sysutils/smart: version bump
2018-06-17 18:41:18 +02:00
NOYB
94de7141cb HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary, bgcolor

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
Error: The bgcolor attribute on the table element is obsolete. Use CSS instead.
2018-01-04 08:46:09 +01:00
Franco Fichtner
59981c5929 sysutils/smart: bump version after change 2017-11-19 08:43:24 +01:00
Franco Fichtner
f950b2f37c */*: whitespace sweep 2017-11-19 08:42:46 +01:00
ljm42
dffa1b7de1 Suppress output when no SMART devices available (#365)
* Suppress output when no SMART devices available

Small fix. Prevents empty form dropdowns when no SMART devices are available (i.e. running in a VM with a vdisk)

* use gettext for text

* better conditional check
2017-11-10 09:14:52 +07:00
Franco Fichtner
6d49d71b2b LICENSE: add auto-generated file after consolidation 2017-08-07 18:47:42 +02:00
Franco Fichtner
66b02729fa *: add pkg-descr files for all plugins; closes #95 2017-03-28 06:42:02 +02:00