diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 35c1a9e9..e11d3448 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -201,18 +201,29 @@ hide=docker.*,lo #alias=wlp2s0:WIFI [ip] +# Disable display of private IP address disable=False +# Configure the online service where public IP address information will be downloaded +# - public_disabled: Disable public IP address information (set to True for offline platform) +# - public_refresh_interval: Refresh interval between to calls to the online service +# - public_api: URL of the API (the API should return an JSON object) +# - public_username: Login for the online service (if needed) +# - public_password: Password for the online service (if needed) +# - public_field: Field name of the public IP address in onlibe service JSON message +# - public_template: Template to build the public message +# +# Example for IPLeak service: +# public_api=https://ipv4.ipleak.net/json/ +# public_field=ip +# public_template={ip} {continent_name}/{country_name}/{city_name} +# +public_disabled=True public_refresh_interval=300 -public_ip_disabled=False -# Configuration for the Censys online service -# Need to create an aacount: https://censys.io/login -censys_url=https://search.censys.io/api -# Get your own credential here: https://search.censys.io/account/api -# Enter your credential and uncomment the following lines -#censys_username=<censys_api_id> -#censys_password=<censys_secret> -# List of fields to be displayed in user interface (comma separated) -censys_fields=location:continent,location:country,autonomous_system:name +public_api=https://ipv4.ipleak.net/json/ +#public_username=<myname> +#public_password=<mysecret> +public_field=ip +public_template={continent_name}/{country_name}/{city_name} [connections] # Display additional information about TCP connections |