diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-10-07 09:58:12 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-10-07 09:58:12 +0200 |
commit | cca55759ee02a32a2e2506ec7fed3b59a899d749 (patch) | |
tree | b5107fb54b4c8663aafb45b9a86661667844958f /docker-compose | |
parent | 8ee0a83d7781da919c2ded4bc28d3c1395765606 (diff) |
Update glances.conf file for Docker
Diffstat (limited to 'docker-compose')
-rw-r--r-- | docker-compose/glances.conf | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf index ad22d4ae..ed44d51b 100644 --- a/docker-compose/glances.conf +++ b/docker-compose/glances.conf @@ -22,7 +22,7 @@ history_size=1200 [outputs] # Theme name for the Curses interface: black or white curse_theme=black -# Limit the number of processes to display in the WebUI +# Limit the number of processes to display (for the WebUI) max_processes_display=30 # Set the URL prefix (for the WebUI and the API) # Example: url_prefix=/glances/ => http://localhost/glances/ @@ -400,35 +400,40 @@ port_default_gateway=True disable=False # Only show specific containers (comma separated list of container name or regular expression) # Comment this line to display all containers (default configuration) -#show=telegraf +; show=telegraf # Hide some containers (comma separated list of container name or regular expression) # Comment this line to display all containers (default configuration) -#hide=telegraf +; hide=telegraf # Define the maximum docker size name (default is 20 chars) max_name_size=20 -#cpu_careful=50 +; cpu_careful=50 # Thresholds for CPU and MEM (in %) -#cpu_warning=70 -#cpu_critical=90 -#mem_careful=20 -#mem_warning=50 -#mem_critical=70 +; cpu_warning=70 +; cpu_critical=90 +; mem_careful=20 +; mem_warning=50 +; mem_critical=70 # # Per container thresholds -#containername_cpu_careful=10 -#containername_cpu_warning=20 -#containername_cpu_critical=30 +; containername_cpu_careful=10 +; containername_cpu_warning=20 +; containername_cpu_critical=30 # # By default, Glances only display running containers # Set the following key to True to display all containers all=False # Define Podman sock -#podman_sock=unix:///run/user/1000/podman/podman.sock +; podman_sock=unix:///run/user/1000/podman/podman.sock [amps] # AMPs configuration are defined in the bottom of this file disable=False +[alert] +disable=False +# Maximum number of alerts to display (default is 10) +; max_events=10 + ############################################################################## # Client/server ############################################################################## @@ -470,7 +475,7 @@ path=/tmp # It is possible to generate the graphs automatically by setting the # generate_every to a non zero value corresponding to the seconds between # two generation. Set it to 0 to disable graph auto generation. -generate_every=60 +generate_every=0 # See following configuration keys definitions in the Pygal lib documentation # http://pygal.org/en/stable/documentation/index.html width=800 |