Validate config schema, add types to all (#10723)

* Vaildate config_definitions.json schema

* finish adding types and other cleanups
This commit is contained in:
Tony Murray
2019-10-20 23:08:40 +00:00
committed by GitHub
parent b18839f00b
commit 1d7347dd62
12 changed files with 1175 additions and 2019 deletions

View File

@@ -6765,6 +6765,10 @@ __webpack_require__.r(__webpack_exports__);
"description": "Enable Distributed Polling (requires additional setup)",
"help": "Enable distributed polling system wide. This is intended for load sharing, not remote polling. You must read the documentation for steps to enable: https://docs.librenms.org/Extensions/Distributed-Poller/"
},
"distributed_poller_group": {
"description": "Default Poller Group",
"help": "The default poller group all pollers should poll if none is set in config.php"
},
"distributed_poller_memcached_host": {
"description": "Memcached host",
"help": "The hostname or ip for the memcached server. This is required for poller_wrapper.py and daily.sh locking."
@@ -7177,6 +7181,7 @@ __webpack_require__.r(__webpack_exports__);
},
"validate": {
"boolean": "{value} is not a valid boolean",
"color": "{value} is not a valid hex color code",
"email": "{value} is not a valid email",
"integer": "{value} is not an integer",
"password": "The password is incorrect",