summaryrefslogtreecommitdiffstats
path: root/conf/glances.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/glances.conf')
-rw-r--r--conf/glances.conf23
1 files changed, 21 insertions, 2 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 013b8067..a7dc1cb4 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -87,6 +87,7 @@ mem_critical=90
# Define RAM thresholds in %
# Default values if not defined: 50/70/90
careful=50
+#careful_action_repeat=echo {{percent}} >> /tmp/memory.alert
warning=70
critical=90
@@ -141,9 +142,10 @@ careful=-65
warning=-75
critical=-85
-#[diskio]
+[diskio]
# Define the list of hidden disks (comma-separated regexp)
#hide=sda2,sda5,loop.*
+hide=loop.*
# Alias for sda1
#sda1_alias=IntDisk
@@ -217,12 +219,14 @@ refresh=30
timeout=3
# If port_default_gateway is True, add the default gateway on top of the scan list
port_default_gateway=True
+#
# Define the scan list (1 < x < 255)
# port_x_host (name or IP) is mandatory
# port_x_port (TCP port number) is optional (if not set, use ICMP)
# port_x_description is optional (if not set, define to host:port)
# port_x_timeout is optional and overwrite the default timeout value
# port_x_rtt_warning is optional and defines the warning threshold in ms
+#
#port_1_host=192.168.0.1
#port_1_port=80
#port_1_description=Home Box
@@ -232,10 +236,25 @@ port_default_gateway=True
#port_3_host=www.google.com
#port_3_description=Internet ICMP
#port_3_rtt_warning=1000
-#port_4_host=www.google.com
#port_4_description=Internet Web
+#port_4_host=www.google.com
#port_4_port=80
#port_4_rtt_warning=1000
+#
+# Define Web (URL) monitoring list (1 < x < 255)
+# 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_1_url=https://blog.nicolargo.com
+#web_1_description=My Blog
+#web_1_rtt_warning=3000
+#web_2_url=https://github.com
+#web_3_url=http://www.google.fr
+#web_3_description=Google Fr
+#web_4_url=https://blog.nicolargo.com/nonexist
+#web_4_description=Intranet
[docker]
# Thresholds for CPU and MEM (in %)