summaryrefslogtreecommitdiffstats
path: root/docs/config.rst
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2024-06-01 11:02:58 +0200
committernicolargo <nicolashennion@gmail.com>2024-06-01 11:02:58 +0200
commitd0de547e4104b9667b39cb4dcdf31e119854adb2 (patch)
tree8addb1ba7cab7166f9ae1061f4c2cee56bc1de31 /docs/config.rst
parentd00be3425593689d90b5067e97ac338c185f9c80 (diff)
Add support for automatically hiding network interfaces that are down or that don't have any IP addresses #2799
Diffstat (limited to 'docs/config.rst')
-rw-r--r--docs/config.rst30
1 files changed, 27 insertions, 3 deletions
diff --git a/docs/config.rst b/docs/config.rst
index d793b7ca..0c87a81b 100644
--- a/docs/config.rst
+++ b/docs/config.rst
@@ -60,17 +60,41 @@ than a second one concerning the user interface:
.. code-block:: ini
[outputs]
+ # Options for all UIs
+ #--------------------
# Separator in the Curses and WebUI interface (between top and others plugins)
separator=True
# Set the the Curses and WebUI interface left menu plugin list (comma-separated)
#left_menu=network,wifi,connections,ports,diskio,fs,irq,folders,raid,smart,sensors,now
- # Limit the number of processes to display (for the WebUI)
+ # Limit the number of processes to display (in the WebUI)
max_processes_display=25
- # Set the URL prefix (for the WebUI and the API)
+ # Options for WebUI
+ #------------------
+ # Set URL prefix for the WebUI and the API
# Example: url_prefix=/glances/ => http://localhost/glances/
- # The final / is mandatory
+ # Note: The final / is mandatory
# Default is no prefix (/)
#url_prefix=/glances/
+ # Set root path for WebUI statics files
+ # Why ? On Debian system, WebUI statics files are not provided.
+ # You can download it in a specific folder
+ # thanks to https://github.com/nicolargo/glances/issues/2021
+ # then configure this folder with the webui_root_path key
+ # Default is folder where glances_restfull_api.py is hosted
+ #webui_root_path=
+ # CORS options
+ # Comma separated list of origins that should be permitted to make cross-origin requests.
+ # Default is *
+ #cors_origins=*
+ # Indicate that cookies should be supported for cross-origin requests.
+ # Default is True
+ #cors_credentials=True
+ # Comma separated list of HTTP methods that should be allowed for cross-origin requests.
+ # Default is *
+ #cors_methods=*
+ # Comma separated list of HTTP request headers that should be supported for cross-origin requests.
+ # Default is *
+ #cors_headers=*
Each plugin, export module, and application monitoring process (AMP) can
have a section. Below is an example for the CPU plugin: