summaryrefslogtreecommitdiffstats
path: root/docker-compose/glances.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose/glances.conf')
-rw-r--r--docker-compose/glances.conf86
1 files changed, 67 insertions, 19 deletions
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf
index c04f8e96..dbf94977 100644
--- a/docker-compose/glances.conf
+++ b/docker-compose/glances.conf
@@ -8,10 +8,12 @@
# It is also possible to overwrite it in each plugin sections
refresh=2
# Does Glances should check if a newer version is available on PyPI ?
-check_update=false
+check_update=False
# History size (maximum number of values)
-# Default is 3600 seconds (1 hour)
-history_size=3600
+# 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"
##############################################################################
# User interface
@@ -158,6 +160,8 @@ tx_warning=80
tx_critical=90
# Define the list of hidden network interfaces (comma-separated regexp)
#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
@@ -173,6 +177,17 @@ tx_critical=90
[ip]
disable=False
+public_refresh_interval=300
+public_ip_disabled=False
+# Configuration for the Censys online service
+# Need to create an aacount: https://censys.io/login
+censys_url=https://search.censys.io/api
+# Get your own credential here: https://search.censys.io/account/api
+# Enter your credential and uncomment the following lines
+#censys_username=<censys_api_id>
+#censys_password=<censys_secret>
+# List of fields to be displayed in user interface (comma separated)
+censys_fields=location:continent,location:country,autonomous_system:name
[connections]
# Display additional information about TCP connections
@@ -187,6 +202,8 @@ nf_conntrack_percent_critical=90
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.*
# Define SIGNAL thresholds in db (lower is better...)
# Based on: http://serverfault.com/questions/501025/industry-standard-for-minimum-wifi-signal-strength
careful=-65
@@ -197,14 +214,18 @@ critical=-85
disable=False
# Define the list of hidden disks (comma-separated regexp)
#hide=sda2,sda5,loop.*
-hide=loop.*,/dev/loop*
+hide=loop.*,/dev/loop.*
+# Define the list of disks to be show (comma-separated)
+#show=sda.*
# Alias for sda1
#sda1_alias=InternalDisk
[fs]
disable=False
-# Define the list of hidden file system (comma-separated regexp)
+# Define the list of file system to hide (comma-separated regexp)
hide=/boot.*,/snap.*
+# Define the list of file system to show (comma-separated regexp)
+#show=/,/srv
# Define filesystem space thresholds in %
# Default values if not defined: 50/70/90
# It is also possible to define per mount point value
@@ -216,12 +237,12 @@ critical=90
#allow=shm
[irq]
-# Documentation: https://glances.readthedocs.io/en/stable/aoa/irq.html
+# Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html
# This plugin is disabled by default
disable=True
[folders]
-# Documentation: https://glances.readthedocs.io/en/stable/aoa/folders.html
+# Documentation: https://glances.readthedocs.io/en/latest/aoa/folders.html
disable=False
# Define a folder list to monitor
# The list is composed of items (list_#nb <= 10)
@@ -230,7 +251,7 @@ disable=False
# * careful: optional careful threshold (in MB)
# * warning: optional warning threshold (in MB)
# * critical: optional critical threshold (in MB)
-# * refresh: interval in second between two refreshs
+# * refresh: interval in second between two refreshes
#folder_1_path=/tmp
#folder_1_careful=2500
#folder_1_warning=3000
@@ -242,13 +263,18 @@ disable=False
#folder_3_path=/nonexisting
#folder_4_path=/root
+[cloud]
+# Documentation: https://glances.readthedocs.io/en/latest/aoa/cloud.html
+# This plugin is disabled by default
+disable=True
+
[raid]
-# Documentation: https://glances.readthedocs.io/en/stable/aoa/raid.html
+# Documentation: https://glances.readthedocs.io/en/latest/aoa/raid.html
# This plugin is disabled by default
disable=True
[smart]
-# Documentation: https://glances.readthedocs.io/en/stable/aoa/smart.html
+# Documentation: https://glances.readthedocs.io/en/latest/aoa/smart.html
# This plugin is disabled by default
disable=True
@@ -282,6 +308,9 @@ 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
@@ -351,7 +380,7 @@ port_default_gateway=True
# web_x_url is the URL to monitor (example: http://my.site.com/folder)
# web_x_description is optional (if not set, define to URL)
# web_x_timeout is optional and overwrite the default timeout value
-# web_x_rtt_warning is optional and defines the warning respond time in ms (approximatively)
+# web_x_rtt_warning is optional and defines the warning respond time in ms (approximately)
#
#web_1_url=https://blog.nicolargo.com
#web_1_description=My Blog
@@ -362,12 +391,12 @@ port_default_gateway=True
#web_4_url=https://blog.nicolargo.com/nonexist
#web_4_description=Intranet
-[docker]
+[containers]
disable=False
-# Only show specific containers (comma separeted list of container name or regular expression)
+# Only show specific containers (comma separated list of container name or regular expression)
# Comment this line to display all containers (default configuration)
#show=telegraf
-# Hide some containers (comma separeted list of container name or regular expression)
+# Hide some containers (comma separated list of container name or regular expression)
# Comment this line to display all containers (default configuration)
#hide=telegraf
# Define the maximum docker size name (default is 20 chars)
@@ -388,6 +417,8 @@ max_name_size=20
# 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
[amps]
# AMPs configuration are defined in the bottom of this file
@@ -411,13 +442,16 @@ disable=False
#server_4_port=61237
[passwords]
-# Define the passwords list
+# Define the passwords list related to the [serverlist] section
# Syntax: host=password
# Where: host is the hostname
# password is the clear password
# Additionally (and optionally) a default password could be defined
#localhost=abc
#default=defaultpassword
+#
+# Define the path of the local '.pwd' file (default is system one)
+#local_password_path=~/.config/glances
##############################################################################
# Exports
@@ -432,7 +466,7 @@ path=/tmp
# 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
-# See followings configuration keys definitions in the Pygal lib documentation
+# See following configuration keys definitions in the Pygal lib documentation
# http://pygal.org/en/stable/documentation/index.html
width=800
height=600
@@ -457,7 +491,7 @@ db=glances
# => foo.mem
# You can also use dynamic values
#prefix=foo
-# Followings tags will be added for all measurements
+# Following tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname is always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
@@ -471,13 +505,16 @@ protocol=http
org=nicolargo
bucket=glances
token=EjFUTWe8U-MIseEAkaVIgVnej_TrnbdvEcRkaB1imstW7gapSqy6_6-8XD-yd51V0zUUpDy-kAdVD1purDLuxA==
+# Set the interval between two exports (in seconds)
+# If the interval is set to 0, the Glances refresh time is used (default behavor)
+#interval=0
# Prefix will be added for all measurement name
# Ex: prefix=foo
# => foo.cpu
# => foo.mem
# You can also use dynamic values
#prefix=foo
-# Followings tags will be added for all measurements
+# Following tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname is always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
@@ -516,6 +553,7 @@ port=8125
# Configuration for the --export elasticsearch option
# Data are available via the ES RESTful API. ex: URL/<index>/cpu
# https://www.elastic.co
+scheme=http
host=localhost
port=9200
index=glances
@@ -539,7 +577,7 @@ queue=glances_queue
# Configuration for the --export mqtt option
host=localhost
port=8883
-tls=true
+tls=false
user=guest
password=guest
topic=glances
@@ -552,9 +590,19 @@ 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
+[mongodb]
+# Configuration for the --export mongodb option
+# https://www.mongodb.com
+host=localhost
+port=27017
+db=glances
+user=root
+password=example
+
[kafka]
# Configuration for the --export kafka option
# http://kafka.apache.org/