diff options
author | Dai Dang Van <daikk115@gmail.com> | 2019-01-04 00:12:28 +0700 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-01-03 18:12:28 +0100 |
commit | 085d872aafdca918069bb1fdf767cf52b15ee961 (patch) | |
tree | a11d3a34fb038d939ea1a2ceda99437ff440b1a6 /text_collector_examples | |
parent | cf8b29d1fb8be541fc2b4cafe531a0f8abdd2bab (diff) | |
download | prometheus_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-x | text_collector_examples/smartmon.sh | 2 |
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 | |||
44 | power_on_hours | 44 | power_on_hours |
45 | program_fail_count | 45 | program_fail_count |
46 | raw_read_error_rate | 46 | raw_read_error_rate |
47 | reallocated_event_count | ||
47 | reallocated_sector_ct | 48 | reallocated_sector_ct |
48 | reported_uncorrect | 49 | reported_uncorrect |
49 | sata_downshift_count | 50 | sata_downshift_count |
51 | seek_error_rate | ||
50 | spin_retry_count | 52 | spin_retry_count |
51 | spin_up_time | 53 | spin_up_time |
52 | start_stop_count | 54 | start_stop_count |