From c9285be686070f2e984feeb567e0d1b774a9c39f Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 17 Feb 2024 12:04:27 +0100 Subject: Update dependency urllib3 to v2 #2397 --- conf/glances.conf | 6 +++--- docker-compose/glances.conf | 46 ++++++++++++++++++++++----------------------- docker-requirements.txt | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/conf/glances.conf b/conf/glances.conf index 35122262..8072baf0 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -193,7 +193,7 @@ tx_critical=90 #wlan0_tx_critical=1000000 #wlan0_tx_log=True # Alias for network interface name -alias=wlp2s0:WIFI +#alias=wlp2s0:WIFI [ip] disable=False @@ -234,7 +234,7 @@ hide=loop.*,/dev/loop.* # Define the list of disks to be show (comma-separated) #show=sda.* # Alias for sda1 and sdb1 -alias=sda1:InternalDisk,sdb1:ExternalDisk +#alias=sda1:InternalDisk,sdb1:ExternalDisk [fs] disable=False @@ -252,7 +252,7 @@ critical=90 # Allow additional file system types (comma-separated FS type) #allow=shm # Alias for root file system -alias=/:Root +#alias=/:Root [irq] # Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf index e3924ee3..24de7619 100644 --- a/docker-compose/glances.conf +++ b/docker-compose/glances.conf @@ -14,13 +14,16 @@ check_update=False 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" +# Define external directory for loading additional plugins +# The layout follows the glances standard for plugin definitions +#plugin_dir=/home/user/dev/plugins ############################################################################## # User interface ############################################################################## [outputs] -# Theme name for the Curses interface: black or white +# Theme name (for the moment only for the Curses interface: black or white) curse_theme=black # Separator in the Curses and WebUI interface (between top and others plugins) separator=True @@ -42,8 +45,11 @@ max_processes_display=25 # Set to true to disable a plugin # Note: you can also disable it from the command line (see --disable-plugin ) disable=False -# Graphical percentage char used in the terminal user interface (default is |) -percentage_char=| +# Stats list (default is cpu,mem,load) +# Available stats are: cpu,mem,load,swap +list=cpu,mem,load +# Graphical bar char used in the terminal user interface (default is |) +bar_char=| # Define CPU, MEM and SWAP thresholds in % cpu_careful=50 cpu_warning=70 @@ -54,6 +60,11 @@ mem_critical=90 swap_careful=50 swap_warning=70 swap_critical=90 +# Source: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages +# With 1 CPU core, the load should be lower than 1.00 ~ 100% +load_careful=70 +load_warning=100 +load_critical=500 [system] # This plugin display the first line in the Glances UI with: @@ -97,7 +108,6 @@ steal_warning=70 steal_critical=90 #steal_log=True # - # Context switch limit (core / second) # Leave commented to just use the default config (critical is 50000*# (Logical CPU cores) #ctx_switches_careful=10000 @@ -172,8 +182,6 @@ tx_critical=90 #hide=docker.*,lo # Define the list of wireless network interfaces to be show (comma-separated) #show=docker.* -# WLAN 0 alias -#wlan0_alias=Wireless # It is possible to overwrite the bitrate thresholds per interface # WLAN 0 Default limits (in bits per second aka bps) for interface bitrate #wlan0_rx_careful=4000000 @@ -184,6 +192,8 @@ tx_critical=90 #wlan0_tx_warning=900000 #wlan0_tx_critical=1000000 #wlan0_tx_log=True +# Alias for network interface name +#alias=wlp2s0:WIFI [ip] disable=False @@ -209,11 +219,7 @@ nf_conntrack_percent_warning=80 nf_conntrack_percent_critical=90 [wifi] -disable=True -# Define the list of hidden wireless network interfaces (comma-separated regexp) -hide=lo,docker.* -# Define the list of wireless network interfaces to be show (comma-separated) -#show=docker.* +disable=False # Define SIGNAL thresholds in db (lower is better...) # Based on: http://serverfault.com/questions/501025/industry-standard-for-minimum-wifi-signal-strength careful=-65 @@ -245,6 +251,8 @@ warning=70 critical=90 # Allow additional file system types (comma-separated FS type) #allow=shm +# Alias for root file system +#alias=/:Root [irq] # Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html @@ -316,13 +324,7 @@ battery_careful=80 battery_warning=90 battery_critical=95 # Sensors alias -#temp1_alias=Motherboard 0 -#temp2_alias=Motherboard 1 -#core 0_temperature_core_alias=CPU Core 0 temp -#core 0_fans_speed_alias=CPU Core 0 fan -#or -#core 0_alias=CPU Core 0 -#core 1_alias=CPU Core 1 +#alias=core 0:CPU Core 0,core 1:CPU Core 1 [processcount] disable=False @@ -437,7 +439,7 @@ disable=False [alert] disable=False # Maximum number of alerts to display (default is 10) -; max_events=10 +;max_events=10 ############################################################################## # Client/server @@ -604,10 +606,8 @@ topic_structure=per-metric host=localhost port=5984 db=glances -# user and password are optional (comment if not configured on the server side) -# If they are used, then the https protocol will be used -#user=root -#password=root +user=admin +password=admin [mongodb] # Configuration for the --export mongodb option diff --git a/docker-requirements.txt b/docker-requirements.txt index c93beffe..53d88681 100644 --- a/docker-requirements.txt +++ b/docker-requirements.txt @@ -6,5 +6,5 @@ podman; python_version >= "3.6" packaging; python_version >= "3.7" python-dateutil six -urllib3<2.0 # See issue https://github.com/nicolargo/glances/issues/2617 +urllib3 requests -- cgit v1.2.3