diff --git a/misc/config_definitions.json b/misc/config_definitions.json index aa7801b721..b687fb2074 100644 --- a/misc/config_definitions.json +++ b/misc/config_definitions.json @@ -193,7 +193,7 @@ "default": [], "group": "webui", "section": "graph", - "order": 5, + "order": 6, "type": "array" }, "api.cors.allowheaders": { @@ -593,6 +593,12 @@ "mpls" ] }, + "base_url": { + "group": "system", + "section": "server", + "order": 5, + "type": "text" + }, "billing.base": { "default": 1000, "type": "integer" @@ -3123,6 +3129,10 @@ "default": 2, "type": "integer" }, + "leaflet.group_radius": { + "default": 10, + "type": "integer" + }, "leaflet.tile_url": { "default": "{s}.tile.openstreetmap.org", "type": "text" @@ -3565,7 +3575,6 @@ "poller_modules.ipmi": { "default": true, "type": "boolean" - }, "poller_modules.sensors": { "default": true, @@ -3799,6 +3808,13 @@ "fdb": "FDB" } }, + "ports_purge": { + "group": "system", + "section": "cleanup", + "order": 9, + "default": false, + "type": "boolean" + }, "project_home": { "default": "http://www.librenms.org/", "type": "text" @@ -3867,6 +3883,13 @@ "order": 6, "type": "text" }, + "rrd_purge": { + "group": "system", + "section": "cleanup", + "order": 8, + "default": 0, + "type": "integer" + }, "rrd_rra": { "default": " RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 RRA:MIN:0.5:1:720 RRA:MIN:0.5:6:1440 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:1440 ", "group": "poller", @@ -3917,6 +3940,13 @@ "order": 7, "type": "text" }, + "shorthost_target_length": { + "group": "webui", + "section": "graph", + "order": 5, + "default": 12, + "type": "integer" + }, "show_locations": { "default": true, "type": "boolean" @@ -4191,6 +4221,12 @@ "temp_dir": { "type": "text" }, + "title_image": { + "group": "webui", + "section": "style", + "order": 3, + "type": "text" + }, "top_devices": { "default": true, "type": "boolean" diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index 5ac99e1ca6..dd0b8e97b2 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -311,6 +311,10 @@ return [ 'description' => 'Auth log entries older than (days)', 'help' => 'Cleanup done by daily.sh' ], + 'base_url' => [ + 'description' => 'Specific URL', + 'help' => 'This should *only* be set if you want to *force* a particular hostname/port. It will prevent the web interface being usable form any other hostname' + ], 'device_perf_purge' => [ 'description' => 'Device performance entries older than (days)', 'help' => 'Cleanup done by daily.sh' @@ -585,6 +589,10 @@ return [ 'description' => 'Port FDB entries older than', 'help' => 'Cleanup done by daily.sh' ], + 'port_purge' => [ + 'description' => 'Ports older than (days)', + 'help' => 'Cleanup done by daily.sh' + ], 'public_status' => [ 'description' => 'Show status publicly', 'help' => 'Shows the status of some devices on the logon page without authentication.' @@ -601,6 +609,10 @@ return [ 'description' => 'RRD Location', 'help' => 'Location of rrd files. Default is rrd inside the LibreNMS directory. Changing this setting does not move the rrd files.' ], + 'rrd_purge' => [ + 'description' => 'RRD Files entries older than (days)', + 'help' => 'Cleanup done by daily.sh' + ], 'rrd_rra' => [ 'description' => 'RRD Format Settings', 'help' => 'These cannot be changed without deleting your existing RRD files. Though one could conceivably increase or decrease the size of each RRA if one had performance problems or if one had a very fast I/O subsystem with no performance worries.' @@ -619,6 +631,10 @@ return [ 'sfdp' => [ 'description' => 'Path to sfdp' ], + 'shorthost_target_length' => [ + 'description' => 'shortend hostname maximum length', + 'help' => 'shrinks hostname to maximum length, but always complete subdomain parts' + ], 'site_style' => [ 'description' => 'Set the site css style', 'options' => [ @@ -691,6 +707,10 @@ return [ 'description' => 'Syslog entries older than (days)', 'help' => 'Cleanup done by daily.sh' ], + 'title_image' => [ + 'description' => 'Title Image', + 'help' => 'Overrides the default Title Image.' + ], 'traceroute' => [ 'description' => 'Path to traceroute' ],