diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-06-13 18:06:14 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-06-13 18:06:14 +0200 |
commit | a38b6b48cbb0bdb99cdc6fd0311dc873c234608c (patch) | |
tree | 64860194a5a9e95f5706cce3a6ab944b2023db34 /conf | |
parent | 18100648525f0e14a6ea1efe686bb45166d33874 (diff) |
First release for the TCP ports scanner plugin. TODO: test and doc
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 4fb8b8c4..a85f606f 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -179,6 +179,27 @@ mem_careful=50 mem_warning=70 mem_critical=90 +[ports] +# TCP Ports scanner plugin configuration +# Interval in second between scan +refresh=30 +# Set the timeout for a scan +timeout=3 +# Define the scan list +# host (name or IP) and port (TCP) are mandatory +# description is optinal (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_4_port=80 + ############################################################################## # Client/server ############################################################################## @@ -202,7 +223,7 @@ mem_critical=90 # Where: host is the hostname # password is the clear password # Additionally (and optionally) a default password could be defined -#xps=abc +#localhost=abc #default=defaultpassword ############################################################################## |