Commit Graph

55 Commits

Author SHA1 Message Date
Paweł Żak 5af100d96b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/s*` (#16363) 2025-01-16 09:47:14 -06:00
stackcoder e4b2e927d7
feat(inputs.smart): Add Power on Hours and Cycle Count (#16230) 2024-12-03 11:14:02 -06:00
Paweł Żak 22b153ac65
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[n-z]*` (#16072) 2024-10-25 12:54:05 +02:00
Paweł Żak d9254c210f
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[p-z]*` (#16043) 2024-10-24 11:03:31 +02:00
Paweł Żak 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Paweł Żak 9988154e6c
chore(linters): Enable `get-return` rule for revive (#15841) 2024-09-12 16:01:48 -05:00
Paweł Żak 358224fa02
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[o-z]*` (#15857) 2024-09-12 15:59:30 -05:00
Sven Rebhan b2967cb515
chore: Update go to v1.23.0 (#15766)
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
Dane Strandboge 19737fcb52
chore(linters): Fix remaining errcheck warnings (#15518)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-07-10 12:51:25 +02:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Andreas Deininger 01c00d69fb
chore: Fix typos (#15114) 2024-04-09 20:00:52 +02:00
Akito0723 19ac5e8081
fix(inputs.smart): Improve regexp to support flags with a plus (#14996) 2024-03-15 11:30:59 -05:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Maxi_Mega 439df813ec
feat(inputs.smart): Add a "device_type" tag to differentiate disks behind a RAID controller (#14613)
Co-authored-by: Thomas Delbende <thomas.delbende@bleemeo.com>
2024-01-23 15:55:35 +01:00
Joshua Powers df80446fae
fix(inputs.smart): Remove parsing error message (#13927) 2023-09-18 15:29:41 +02:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Pranay Kanwar 4161651fed
feat(inputs.smart): Add additional SMART metrics that indicate/predict device failure (#12329) 2022-12-09 16:46:21 +01:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Ben Tasker fa0c9c937e
feat(inputs.smart): Collect SSD endurance information where available in smartctl (#11391) 2022-07-12 12:25:54 -05:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
Joshua Powers bcc7c57f18
fix: correctly parse various numeric forms (#10923) 2022-04-19 15:07:23 -06:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Kuba Trojan d4475b7d08
feat: Add SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes. (#10150) 2021-12-07 09:10:36 -07:00
Mya Longmire f6a9d104f8
Feature powermode smartctl (#9306)
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Paweł Żak ff0a8c2d87
Fix SMART plugin to recognize all devices from config (#8374) 2020-11-12 11:04:52 -05:00
Paweł Żak c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform (#8240) 2020-10-08 11:20:35 -04:00
Paweł Żak e1cb269a35
Add more missing NVMe attributes to smart plugin (#8113) 2020-09-28 11:16:49 -04:00
Piotr Szczepanik 6c1d9f765a
Add missing nvme attributes to smart plugin (#7575) 2020-06-23 11:55:32 -07:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00
ryan-peck 1b4aad2ccd Change logic to allow recording of device fields when attributes is false (#6638) 2020-01-14 17:05:28 -08:00
Daniel Nelson 9867fe3279
Add test case for smart serial number 2019-09-30 10:42:47 -07:00
Gregory Brzeski fc1b1e8d20 Use case insensitive serial numer match in smart input (#6464) 2019-09-30 10:41:25 -07:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Marc Venturini 5473872ac1 Add configurable timeout setting to smart input (#6241) 2019-08-13 10:24:44 -07:00
Marc Venturini 1c1c41c300 Add device tags to smart_attributes (#6201) 2019-08-05 17:36:34 -07:00
Russ Savage 1557e9094d Update smart input docs for attributes clarity (#6192) 2019-08-02 10:48:40 -07:00
George 43c16aa898 Add extra attributes for NVMe devices to smart input (#6079) 2019-07-12 14:25:45 -07:00
Daniel Nelson e8a596858c
Add device, serial_no, and wwn tags to synthetic attributes (#6040) 2019-06-25 11:51:51 -07:00
Greg 3c83a53d51 Remove verbose debug logs from smart input (#5948) 2019-06-03 11:31:20 -07:00