summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-10-07 09:49:13 +0200
committernicolargo <nicolas@nicolargo.com>2023-10-07 09:49:13 +0200
commit8ee0a83d7781da919c2ded4bc28d3c1395765606 (patch)
treee4fccb6f0f696bfc8bcf31f0b99b68516bc8b65a /conf
parentc88e310920b036249f126f87af274a918f8cf39f (diff)
Make the alerts number configurable (related to #2558)
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf29
1 files changed, 17 insertions, 12 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 19fbbee6..ef71a4c6 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -396,35 +396,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=True
+# Maximum number of alerts to display (default is 10)
+; max_events=10
+
##############################################################################
# Client/server
##############################################################################