diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-06-18 18:49:25 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-06-18 18:49:25 +0200 |
commit | 73b383155bca355d9a216b60cb445dfc091ccc69 (patch) | |
tree | 5fab16688e31083e78a5255d3c64f19534aed281 /conf | |
parent | bd8e36cfd3a03e95218b1f92c58ba6130c464529 (diff) |
Add default gateway option
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 68e71c70..97b3688e 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -185,23 +185,19 @@ mem_critical=90 refresh=30 # Set the default timeout for a scan (can be overwrite in the scan list) timeout=3 +# If True, add the default gateway on top of the port list +port_default_gateway=True # Define the scan list # 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 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 +# port (TCP port number) is optional (if not set, use ICMP) +# description is optional (if not set, define to host:port) +port_1_host=192.168.0.1 +port_1_port=80 +port_1_description=Home Box +port_2_host=www.free.fr +port_2_description=My ISP +port_3_host=www.google.com +port_3_description=Internet ############################################################################## # Client/server |