summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2016-06-17 14:50:59 +0200
committerNicolargo <nicolas@nicolargo.com>2016-06-17 14:50:59 +0200
commit4bfe32c665a2e0a83243a9879cd609279b2613ea (patch)
tree927c15fd472a5339d778328e17455eb17868ac7c /conf
parenta38b6b48cbb0bdb99cdc6fd0311dc873c234608c (diff)
Add ICMP (system call to ping) in the Glances port plugin
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf27
1 files changed, 15 insertions, 12 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index a85f606f..68e71c70 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -180,25 +180,28 @@ mem_warning=70
mem_critical=90
[ports]
-# TCP Ports scanner plugin configuration
+# Ports scanner plugin configuration
# Interval in second between scan
refresh=30
-# Set the timeout for a scan
+# Set the default timeout for a scan (can be overwrite in the scan list)
timeout=3
# Define the scan list
-# host (name or IP) and port (TCP) are mandatory
-# description is optinal (set to host:port)
+# host (name or IP) is mandatory
+# port is optional (set to 0 = ICMP check by default)
+# description is optional (set to host:port)
port_1_host=www.google.com
port_1_port=443
-port_1_description=Internet
-port_2_host=www.free.fr
-port_2_port=80
-port_2_description=ISP
-port_3_host=192.168.0.1
-port_3_port=80
-port_3_description=Home Box
-port_4_host=192.168.5.1
+port_1_description=Internet Web
+port_2_host=www.google.com
+port_2_description=Internet Ping
+port_3_host=www.free.fr
+port_3_description=Free ISP
+port_4_host=192.168.0.1
port_4_port=80
+port_5_description=Home Box
+port_5_host=192.168.5.1
+port_5_port=80
+port_5_timeout=2
##############################################################################
# Client/server