Commit Graph

41 Commits

Author SHA1 Message Date
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
Greg 0d66ed70f8 Update smart input plugin to support more drive types (#5765) 2019-05-07 15:20:03 -07:00
Daniel Nelson 19c102cf4b
Fix parsing of dos line endings in smart input (#3960) 2018-04-02 13:55:10 -07:00
Daniel Nelson 93d16a4603
Use auto type detection for scanned devices in smart input (#3561) 2017-12-08 18:03:12 -08:00
Daniel Nelson 574034c301
Use device name instead of abs path for devices tag in smart input (#3550) 2017-12-08 13:22:41 -08:00
Rickard von Essen e69c3f9d1c Add smart input plugin for collecting S.M.A.R.T. data (#2449) 2017-10-04 15:15:58 -07:00