Add failing check to smart input plugin for Error_Information_Log_Entries collection

This commit is contained in:
George MacRorie
2019-07-06 14:52:38 +01:00
parent 13f01e11f8
commit 0c19c5fc5c
+11
View File
@@ -495,6 +495,17 @@ func TestGatherNvme(t *testing.T) {
},
time.Now(),
),
testutil.MustMetric("smart_attribute",
map[string]string{
"device": ".",
"name": "Error_Information_Log_Entries",
"serial_no": "D704940282?",
},
map[string]interface{}{
"raw_value": 119699,
},
time.Now(),
),
testutil.MustMetric("smart_attribute",
map[string]string{
"device": ".",