aboutsummaryrefslogtreecommitdiff
path: root/text_collector_examples
diff options
context:
space:
mode:
authorDai Dang Van <daikk115@gmail.com>2019-01-04 00:12:28 +0700
committerBen Kochie <superq@gmail.com>2019-01-03 18:12:28 +0100
commit085d872aafdca918069bb1fdf767cf52b15ee961 (patch)
treea11d3a34fb038d939ea1a2ceda99437ff440b1a6 /text_collector_examples
parentcf8b29d1fb8be541fc2b4cafe531a0f8abdd2bab (diff)
downloadprometheus_node_collector-085d872aafdca918069bb1fdf767cf52b15ee961.tar.bz2
prometheus_node_collector-085d872aafdca918069bb1fdf767cf52b15ee961.tar.xz
prometheus_node_collector-085d872aafdca918069bb1fdf767cf52b15ee961.zip
Add S.M.A.R.T metrics (#1209)
Update metrics following SMART attributes in [1][2] - Seek_Error_Rate - ID: 7 - Reallocated_Event_Count - ID: 196 [1] https://en.wikipedia.org/wiki/S.M.A.R.T.#Known_ATA_S.M.A.R.T._attributes [2] https://en.wikibooks.org/wiki/Minimizing_Hard_Disk_Drive_Failure_and_Data_Loss/Self-Monitoring,_Analysis,_and_Reporting_Technology Signed-off-by: Dai, Dang Van <daikk115@gmail.com>
Diffstat (limited to 'text_collector_examples')
-rwxr-xr-xtext_collector_examples/smartmon.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/text_collector_examples/smartmon.sh b/text_collector_examples/smartmon.sh
index d6c55c4..25ad7ed 100755
--- a/text_collector_examples/smartmon.sh
+++ b/text_collector_examples/smartmon.sh
@@ -44,9 +44,11 @@ power_cycle_count
44power_on_hours 44power_on_hours
45program_fail_count 45program_fail_count
46raw_read_error_rate 46raw_read_error_rate
47reallocated_event_count
47reallocated_sector_ct 48reallocated_sector_ct
48reported_uncorrect 49reported_uncorrect
49sata_downshift_count 50sata_downshift_count
51seek_error_rate
50spin_retry_count 52spin_retry_count
51spin_up_time 53spin_up_time
52start_stop_count 54start_stop_count