Add device tags to smart_attributes (#6201)
This commit is contained in:
committed by
Daniel Nelson
parent
61f6794846
commit
1c1c41c300
@@ -89,9 +89,8 @@ Defaults!SMARTCTL !logfile, !syslog, !pam_session
|
||||
- tags:
|
||||
- capacity
|
||||
- device
|
||||
- device_model
|
||||
- enabled
|
||||
- health
|
||||
- model
|
||||
- serial_no
|
||||
- wwn
|
||||
- fields:
|
||||
@@ -104,10 +103,13 @@ Defaults!SMARTCTL !logfile, !syslog, !pam_session
|
||||
|
||||
- smart_attribute:
|
||||
- tags:
|
||||
- capacity
|
||||
- device
|
||||
- enabled
|
||||
- fail
|
||||
- flags
|
||||
- id
|
||||
- model
|
||||
- name
|
||||
- serial_no
|
||||
- wwn
|
||||
@@ -163,6 +165,6 @@ smartctl --info --health --attributes --tolerance=verypermissive --nocheck NOCHE
|
||||
|
||||
```
|
||||
smart_device,enabled=Enabled,host=mbpro.local,device=rdisk0,model=APPLE\ SSD\ SM0512F,serial_no=S1K5NYCD964433,wwn=5002538655584d30,capacity=500277790720 udma_crc_errors=0i,exit_status=0i,health_ok=true,read_error_rate=0i,temp_c=40i 1502536854000000000
|
||||
smart_attribute,serial_no=S1K5NYCD964433,wwn=5002538655584d30,id=199,name=UDMA_CRC_Error_Count,flags=-O-RC-,fail=-,host=mbpro.local,device=rdisk0 threshold=0i,raw_value=0i,exit_status=0i,value=200i,worst=200i 1502536854000000000
|
||||
smart_attribute,device=rdisk0,serial_no=S1K5NYCD964433,wwn=5002538655584d30,id=240,name=Unknown_SSD_Attribute,flags=-O---K,fail=-,host=mbpro.local exit_status=0i,value=100i,worst=100i,threshold=0i,raw_value=0i 1502536854000000000
|
||||
smart_attribute,capacity=500277790720,device=rdisk0,enabled=Enabled,fail=-,flags=-O-RC-,host=mbpro.local,id=199,model=APPLE\ SSD\ SM0512F,name=UDMA_CRC_Error_Count,serial_no=S1K5NYCD964433,wwn=5002538655584d30 exit_status=0i,raw_value=0i,threshold=0i,value=200i,worst=200i 1502536854000000000
|
||||
smart_attribute,capacity=500277790720,device=rdisk0,enabled=Enabled,fail=-,flags=-O---K,host=mbpro.local,id=199,model=APPLE\ SSD\ SM0512F,name=Unknown_SSD_Attribute,serial_no=S1K5NYCD964433,wwn=5002538655584d30 exit_status=0i,raw_value=0i,threshold=0i,value=100i,worst=100i 1502536854000000000
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user