diff options
Diffstat (limited to 'docker-compose/glances.conf')
-rwxr-xr-x | docker-compose/glances.conf | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf index 437de0e6..5efb266e 100755 --- a/docker-compose/glances.conf +++ b/docker-compose/glances.conf @@ -201,18 +201,29 @@ tx_critical=90 #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 |