From 6afa70f360656d95d524acd51ee5238c1ea23b16 Mon Sep 17 00:00:00 2001 From: niki Date: Sat, 1 Aug 2020 22:33:40 +0500 Subject: [PATCH] Add files via upload --- Template smartmonitor.xml | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/Template smartmonitor.xml b/Template smartmonitor.xml index c557f2e..ebd884d 100644 --- a/Template smartmonitor.xml +++ b/Template smartmonitor.xml @@ -1,7 +1,7 @@ - 4.4 - 2020-03-31T10:04:28Z + 5.0 + 2020-08-01T17:09:21Z Templates Users @@ -46,7 +46,7 @@ Smartctl storage discovery storage.discovery - 1d;1h/1-7,08:00-21:00 + 12h @@ -104,6 +104,8 @@ REGEX (?:SMART overall-health self-assessment test result:|SMART Health Status:) +\b([\S ]+) \1 + CUSTOM_ERROR + Not supported @@ -144,12 +146,8 @@ REGEX - (?:Vendor: +(.+)\nProduct:|[Dd]evice [Mm]odel:|[Mm]odel [Nn]umber:) +(.+) -\1 \2 - - - LTRIM - + (?:Vendor:|Product:|Device [Mm]odel:|Model [Nn]umber:).+ (.+) +\1 @@ -171,7 +169,7 @@ REGEX - [Ss]erial [Nn]umber:\s+([\d\w-]+) + (?:Serial [Nn]umber:).+ ([\d\w-]+) \1 @@ -206,6 +204,8 @@ NVME REGEX (?:5 Reallocated|Elements in grown defect list:|5 Retired_Block_Count).+ ([0-9]+) \1 + CUSTOM_ERROR + Not supported @@ -259,6 +259,8 @@ NVME MULTIPLIER 3600 + CUSTOM_ERROR + Not supported @@ -312,10 +314,16 @@ NVME + + JAVASCRIPT + return value.replace(/\s\(.+\)/g, ' ') + REGEX - (?:194 Temperature[^(\n]+|190 Airflow_Temperature[^(\n]+|Drive Temperature:|Temperature:|190 Temperature_Case).+ ([0-9]+) + (?:190 Temperature|190 Airflow_Temperature|194 Temperature|Drive Temperature:|Temperature:).+ ([0-9]+) \1 + CUSTOM_ERROR + Not supported