Fixed some Variables in conf and docu

This commit is contained in:
Sven Holz
2022-06-13 23:55:08 +02:00
parent 230c694eaf
commit a0bc13a70a
3 changed files with 12 additions and 3 deletions

View File

@@ -37,10 +37,12 @@ Also some influx connection options are just configurable via config file but no
Name | Example | Usage | Option/Must Name | Example | Usage | Option/Must
:------: | :-----: | :-----: | :-----: :------: | :-----: | :-----: | :-----:
INFLUX_URL | http://10.0.0.1:8086 | InfluxDB Host | must INFLUX_URL | http://10.0.0.1:8086 | InfluxDB Host | must
INFLUX_TOKEN | eWOcp-MCv2Y3IJPlER7wcCiuYkV8HdC8d7...ICKirhw0lwEczRNnrIoTqZAg== | InfluxDB API Token | must INFLUX_TOKEN | eWOcp-MCv2Y3IJPlER7wc...ICKirhw0lwEczRNnrIoTqZAg== | InfluxDB API Token | must
INFLUX_BUCKET | latency | InfluxDB Bucket | must INFLUX_BUCKET | latency | InfluxDB Bucket | must
INFLUX_ORG | MyOrg | InfluxDB Organization | must INFLUX_ORG | MyOrg | InfluxDB Organization | must
TARGET_HOST | 8.8.8.8 | Monitored Host (IP/FQDN) | must TARGET_HOST | 8.8.8.8 | Monitored Host (IP/FQDN) | must
TARGET_TIMER | 3 | ping frequency in sec. | option
TARGET_LOCATION | Google | decript. location | option
### Config File ### Config File
@@ -100,7 +102,7 @@ You need to configure Variables in following files to make the compose work:
----- -----
- **docker-compose.yml** *(was docker-compose-full_stack.yml before* - **docker-compose.yml** *(was docker-compose-full_stack.yml before)*
- PLACE_YOUR_FQDN_HERE (3 times) - PLACE_YOUR_FQDN_HERE (3 times)
----- -----
@@ -112,6 +114,9 @@ You need to configure Variables in following files to make the compose work:
- YOUR_ORGANIZATION - YOUR_ORGANIZATION
- YOUR_BUCKET_NAME - YOUR_BUCKET_NAME
- YOUR_ADMIN_TOKEN - YOUR_ADMIN_TOKEN
- YOUR_MONITORED_TARGET
- YOUR_MONITORED_TARGET_TIMER
- YOUR_MONITORED_TARGET_LOCATION
----- -----

View File

@@ -130,6 +130,8 @@ services:
- INFLUX_BUCKET - INFLUX_BUCKET
- INFLUX_ORG - INFLUX_ORG
- TARGET_HOST - TARGET_HOST
- TARGET_TIMER
- TARGET_LOCATION
networks: networks:
- net-webproxy - net-webproxy
- net-webproxy-no-inet - net-webproxy-no-inet

4
env
View File

@@ -34,4 +34,6 @@ INFLUX_URL=YOUR_INFLUXDB_URL
INFLUX_TOKEN=YOUR_ADMIN_TOKEN INFLUX_TOKEN=YOUR_ADMIN_TOKEN
INFLUX_BUCKET=YOUR_BUCKET_NAME INFLUX_BUCKET=YOUR_BUCKET_NAME
INFLUX_ORG=YOUR_ORGANIZATION INFLUX_ORG=YOUR_ORGANIZATION
TARGET_HOST=YOUR_MONITORED_TARGET TARGET_HOST=YOUR_MONITORED_TARGET
TARGET_TIMER=YOUR_MONITORED_TARGET_TIMER
TARGET_LOCATION=YOUR_MONITORED_TARGET_LOCATION