From 84324615c5b0b97ec4004156f841a0b1b6947150 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 3 Jan 2026 09:32:34 +0100 Subject: [PATCH] Align conf file between default and the one used in Docker compose --- conf/glances.conf | 2 +- docker-compose/glances.conf | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/conf/glances.conf b/conf/glances.conf index 2bf123b8..02c031f9 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -355,7 +355,7 @@ critical=90 # Allow additional file system types (comma-separated FS type) #allow=shm # Alias for root file system -alias=/:Root,/zfspool:ZFS +#alias=/:Root,/zfspool:ZFS [irq] # Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf index efeb3a59..a4918289 100644 --- a/docker-compose/glances.conf +++ b/docker-compose/glances.conf @@ -13,7 +13,7 @@ check_update=False # Default is 1200 values (~1h with the default refresh rate) history_size=1200 # Set the way Glances should display the date (default is %Y-%m-%d %H:%M:%S %Z) -# strftime_format=%Y-%m-%d %H:%M:%S %Z +#strftime_format=%Y-%m-%d %H:%M:%S %Z # Define external directory for loading additional plugins # The layout follows the glances standard for plugin definitions #plugin_dir=/home/user/dev/plugins @@ -64,6 +64,10 @@ max_processes_display=25 # Comma separated list of HTTP request headers that should be supported for cross-origin requests. # Default is * #cors_headers=* +# Define SSL files (keyfile_password is optional) +#ssl_keyfile_password=kfp +#ssl_keyfile=./glances.local+3-key.pem +#ssl_certfile=./glances.local+3.pem ############################################################################## # Plugins @@ -489,6 +493,8 @@ status_critical=Z,D # Define the list of processes to export using: # a comma-separated list of Glances filter #export=.*firefox.*,pid:1234 +# Define a list of process to focus on (comma-separated list of Glances filter) +#focus=.*firefox.*,.*python.* [ports] disable=False @@ -886,6 +892,14 @@ password=password # Most of the time, you should not overwrite this value #hostname=mycomputer +[nats] +# Configuration for the --export nats option +# https://nats.io/ +# Host is a separated list of NATS nodes +host=nats://localhost:4222 +# Prefix for the subjects (default is 'glances') +prefix=glances + ############################################################################## # AMPS # * enable: Enable (true) or disable (false) the AMP