Commit graph

194 commits

Author SHA1 Message Date
Ben Kochie
0043cb3795
Merge pull request #46 from prometheus-community/dependabot/go_modules/github.com/tidwall/gjson-1.14.1
Bump github.com/tidwall/gjson from 1.6.0 to 1.14.1
2022-06-17 12:27:16 +02:00
dependabot[bot]
51d1548a77
Bump github.com/tidwall/gjson from 1.6.0 to 1.14.1
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.6.0 to 1.14.1.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.6.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 10:13:25 +00:00
Ben Kochie
947536d060
Merge pull request #44 from prometheus-community/superq/update_build
Update build for prometheus-community
2022-06-17 12:13:03 +02:00
SuperQ
c0e4746c80
Update build for prometheus-community
Use standard Prometheus Community build infra.
* Update Go modules for new location
* Update references to github URLs
* Update for Go 1.17+

Signed-off-by: SuperQ <superq@gmail.com>
2022-06-17 12:04:48 +02:00
Eric Culp
6b6fd628d2 Fix exit code bit parsing
The previous code was parsing left-to-right, but the bits are actually
numbered right-to-left (least to most significant). Instead of
converting to strings, just use bitmasks.

Fixes https://github.com/prometheus-community/smartctl_exporter/issues/22

Signed-off-by: Eric Culp <eculperic@gmail.com>
2022-03-17 16:57:34 -06:00
Горлов Максим
e27581d56a apply merges 2020-11-14 18:36:34 +03:00
Горлов Максим
e2df698099 Merge branch 'chripede-master' into merging_commits 2020-11-14 18:30:46 +03:00
Горлов Максим
7f4c259c12 chripede-master merge 2020-11-14 18:30:32 +03:00
Горлов Максим
1d8e99e0b3 Merge branch 'tavyc-master' into merging_commits 2020-11-14 17:58:02 +03:00
Горлов Максим
c962031b18 merging tavyc 2020-11-14 17:57:43 +03:00
Горлов Максим
cbc437fea9 Parsing smartctl error code; parsing resulting json for smartctl errors; docker moved to subfolder 2020-10-30 00:35:49 +03:00
Горлов Максим
09cfdec25a Collecting fake json script 2020-10-27 23:30:05 +03:00
Горлов Максим
7fa7a15525
Merge pull request #6 from langizoli/add/nvme-support
Add/nvme support
2020-10-27 23:02:54 +03:00
Christian Pedersen
593ca96a99 Automatically load the available devices 2020-10-06 13:05:00 +02:00
Christian Pedersen
315d1538aa Calculate bytes read/written 2020-10-02 15:14:40 +02:00
Christian Pedersen
1b15cbbec2 Add NVMe metrics 2020-10-02 13:30:45 +02:00
Octavian Cerna
6e30737bc3 mineDeviceStatistics: Flag the SATA PHY stats as valid. 2020-07-27 00:40:18 +03:00
Octavian Cerna
9e58dd6fd2 Add a new metric smartctl_device_erc_seconds for reporting the device Error Recovery Control (TLER) setting. 2020-07-27 00:37:43 +03:00
Octavian Cerna
53399a5e73 Add a new metrics smartctl_device_self_test_log_count and smartctl_device_self_test_log_error_count for the device SMART Self-Test Logs. 2020-07-27 00:16:08 +03:00
Octavian Cerna
3e17706839 Add a new metric smartctl_device_error_log_count for the SMART error log counts. 2020-07-26 23:49:09 +03:00
Octavian Cerna
e8d95208d7 Report SATA PHY stats to smartctl_device_statistics. 2020-07-26 23:35:22 +03:00
Octavian Cerna
3feff84fbb Add a new metric smartctl_device_state for the device state from ATA SCT. 2020-07-26 22:54:54 +03:00
Octavian Cerna
9e10465744 Add a new metric smartctl_device_status for the SMART health status. 2020-07-26 22:31:04 +03:00
Octavian Cerna
81e49a31c3 Adjust the Makefile for the conversion to a Go module. 2020-07-26 21:10:56 +03:00
Octavian Cerna
774dee6012 Convert to Go module. 2020-07-26 21:08:03 +03:00
Zoltan Langi
9666ec9296 fixed format 2019-12-19 12:17:10 +01:00
Zoltan Langi
a3ee441193 fixed the config file 2019-12-19 11:22:14 +01:00
Zoltan Langi
965204547a I've added support for NVMe drives and also created a docker file so a container can be built.
I've added the following metrics for the NVMe drives:
smart_status, critical_warning, available_spare, media_errors
2019-12-19 11:17:35 +01:00
Горлов Максим
a68a2861e5
Update README.md 2019-08-26 11:27:28 +03:00
Горлов Максим
a5963a62b5 gentoo ebuild keywords 2019-08-17 19:35:23 +03:00
Горлов Максим
b371204e11 rdepend 2019-08-17 18:56:19 +03:00
Горлов Максим
dc7bc26392 Gentoo ebuild 2019-08-17 18:47:34 +03:00
Горлов Максим
f780aab075 right example 2019-08-17 13:26:31 +03:00
Горлов Максим
15a3fb6762
Update README.md 2019-08-17 13:24:28 +03:00
Горлов Максим
a3cc59ddda short and long flags, device statistics 2019-08-17 13:18:48 +03:00
Горлов Максим
6218382548
store_artifacts 2019-08-16 13:53:03 +03:00
Горлов Максим
2697523b1e
Update README.md 2019-08-16 11:05:30 +03:00
Горлов Максим
de1e2e08b0
.circleci 2019-08-16 10:59:09 +03:00
Горлов Максим
9b5b883d6b
Update README.md 2019-08-16 00:02:44 +03:00
Горлов Максим
beb765eb1a option for set minimum time period between run smartctl; smartctl info metric 2019-08-16 00:01:16 +03:00
Горлов Максим
de13d91241 systemd service 2019-08-15 00:04:32 +03:00
Горлов Максим
cc03403fe9 change default port to reserved at https://github.com/prometheus/prometheus/wiki/Default-port-allocations 2019-08-14 23:38:48 +03:00
Горлов Максим
9e6e240e85 First commit 2019-08-14 23:34:49 +03:00
Горлов Максим
f1e1e3fe23
Initial commit 2019-08-14 23:28:21 +03:00