diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /collectors/python.d.plugin/smartd_log/smartd_log.chart.py | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/python.d.plugin/smartd_log/smartd_log.chart.py')
-rw-r--r-- | collectors/python.d.plugin/smartd_log/smartd_log.chart.py | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/smartd_log/smartd_log.chart.py b/collectors/python.d.plugin/smartd_log/smartd_log.chart.py index dc4e95dec..a896164df 100644 --- a/collectors/python.d.plugin/smartd_log/smartd_log.chart.py +++ b/collectors/python.d.plugin/smartd_log/smartd_log.chart.py @@ -39,6 +39,7 @@ ATTR171 = '171' ATTR172 = '172' ATTR173 = '173' ATTR174 = '174' +ATTR177 = '177' ATTR180 = '180' ATTR183 = '183' ATTR190 = '190' @@ -50,6 +51,8 @@ ATTR199 = '199' ATTR202 = '202' ATTR206 = '206' ATTR233 = '233' +ATTR241 = '241' +ATTR242 = '242' ATTR249 = '249' ATTR_READ_ERR_COR = 'read-total-err-corrected' ATTR_READ_ERR_UNC = 'read-total-unc-errors' @@ -114,6 +117,8 @@ ORDER = [ 'offline_uncorrectable_sector_count', 'percent_lifetime_used', 'media_wearout_indicator', + 'total_lbas_written', + 'total_lbas_read', ] CHARTS = { @@ -329,7 +334,7 @@ CHARTS = { 'media_wearout_indicator': { 'options': [None, 'Media Wearout Indicator', 'percentage', 'wear', 'smartd_log.media_wearout_indicator', 'line'], 'lines': [], - 'attrs': [ATTR233], + 'attrs': [ATTR233, ATTR177], 'algo': ABSOLUTE, }, 'nand_writes_1gib': { @@ -338,6 +343,18 @@ CHARTS = { 'attrs': [ATTR249], 'algo': ABSOLUTE, }, + 'total_lbas_written': { + 'options': [None, 'Total LBAs Written', 'sectors', 'wear', 'smartd_log.total_lbas_written', 'line'], + 'lines': [], + 'attrs': [ATTR241], + 'algo': ABSOLUTE, + }, + 'total_lbas_read': { + 'options': [None, 'Total LBAs Read', 'sectors', 'wear', 'smartd_log.total_lbas_read', 'line'], + 'lines': [], + 'attrs': [ATTR242], + 'algo': ABSOLUTE, + }, } # NOTE: 'parse_temp' decodes ATA 194 raw value. Not heavily tested. Written by @Ferroin @@ -519,6 +536,7 @@ def ata_attribute_factory(value): elif name in [ ATTR1, ATTR7, + ATTR177, ATTR202, ATTR206, ATTR233, |