Fix existing, oops (#14332)

This commit is contained in:
Tony Murray
2022-09-09 15:12:02 -05:00
committed by GitHub
parent 6b1ae1dbf0
commit 881d581448
2 changed files with 2 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
mib: RS-COMMON-MIB:RS-XX8000-COMMON-MIB:RS-XX8000-DVB-TX-MIB:IRT-DVBT-SINGLETRANSMITTER-MIB
modules:
os:
hardware: SNMPv2-MIB::sysDescr.0
serial: RS-XX8000-COMMON-MIB::serialNumber.0
version: RS-XX8000-COMMON-MIB::versionNumberSW.0
sysDescr_regex: "/(?<hardware>.*)/"
sensors:
power:
data:

View File

@@ -366,7 +366,7 @@
"type": ["string", "array"],
"items": {
"type": "string",
"pattern": "^((?!sysDescr\\.0|1\\.3\\.6\\.1\\.2\\.1\\.1\\.1\\.0).)*$"
"pattern": "^((?!sysDescr\\.0|^\\.?1\\.3\\.6\\.1\\.2\\.1\\.1\\.1\\.0).)*$"
}
},
"pre-cache": {