mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add nfsen_base to config_definitions.json (#16065)
* Update config_definitions.json Added nfsen_base so that nfsen stats feature works. I had to add as an array as it was the way I was able to make it work, even though another type may make more sense from a user interface perspective. I put it in order 10 as there seemed to be a gap there, but one could argue that it should be higher and other nfsen items renumbered. * Update config_definitions.json Fixed typo * Update config_definitions.json * Update settings.php Added Default NFSen Base Directory * Update settings.php --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1038,6 +1038,10 @@ return [
|
|||||||
'nfsen_lasts' => [
|
'nfsen_lasts' => [
|
||||||
'description' => 'Default Last Options',
|
'description' => 'Default Last Options',
|
||||||
],
|
],
|
||||||
|
'nfsen_base' => [
|
||||||
|
'description' => 'NFSen Base Directory',
|
||||||
|
'help' => 'Used to locate device specific graphs',
|
||||||
|
],
|
||||||
'nfsen_split_char' => [
|
'nfsen_split_char' => [
|
||||||
'description' => 'Split Char',
|
'description' => 'Split Char',
|
||||||
'help' => 'This value tells us what to replace the full stops `.` in the devices hostname with. Usually: `_`',
|
'help' => 'This value tells us what to replace the full stops `.` in the devices hostname with. Usually: `_`',
|
||||||
|
@@ -4547,6 +4547,13 @@
|
|||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
|
"nfsen_base": {
|
||||||
|
"default": [],
|
||||||
|
"group": "external",
|
||||||
|
"section": "nfsen",
|
||||||
|
"order": 10,
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
"nfsen_split_char": {
|
"nfsen_split_char": {
|
||||||
"group": "external",
|
"group": "external",
|
||||||
"section": "nfsen",
|
"section": "nfsen",
|
||||||
|
Reference in New Issue
Block a user