mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add group to sensor 1st discovery + template syntax {{ $xxx }} (#9667)
* add group to sensor initial discovery and use dynamic_discovery_get_value template syntax on them * spaces * switching to YamlDiscovery::replaceValues * testdata from ibmc * testdata from nxos * testdata from omnitron-iconverter * testdata from vrp * adapt discovery_schema to accept variables * remove pattern * Update discovery_schema.json
This commit is contained in:
@@ -118,8 +118,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"group": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Z]"
|
||||
"type": "string"
|
||||
},
|
||||
"low_limit": {
|
||||
"type": ["number", "string"]
|
||||
@@ -333,8 +332,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"group": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Z]"
|
||||
"type": "string"
|
||||
},
|
||||
"low_limit": {
|
||||
"type": ["number", "string"]
|
||||
|
Reference in New Issue
Block a user