mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
Update smartctl.go
Signed-off-by: Ben Kochie <superq@gmail.com> Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
e10ded530f
commit
e76e458118
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ func (smart *SMARTctl) mineDeviceStatistics() {
|
||||||
// skip vendor-specific statistics (they lead to duplicate metric labels on Seagate Exos drives,
|
// skip vendor-specific statistics (they lead to duplicate metric labels on Seagate Exos drives,
|
||||||
// see https://github.com/Sheridan/smartctl_exporter/issues/3 for details)
|
// see https://github.com/Sheridan/smartctl_exporter/issues/3 for details)
|
||||||
if table == "Vendor Specific Statistics" {
|
if table == "Vendor Specific Statistics" {
|
||||||
continue;
|
continue
|
||||||
}
|
}
|
||||||
for _, statistic := range page.Get("table").Array() {
|
for _, statistic := range page.Get("table").Array() {
|
||||||
smart.ch <- prometheus.MustNewConstMetric(
|
smart.ch <- prometheus.MustNewConstMetric(
|
||||||
|
|
Loading…
Reference in a new issue