5 Commits

Author SHA1 Message Date
Sven Holz
cb6b8e1aae add default values to env variables description 2022-06-20 17:50:43 +02:00
Sven Holz
1772f7d929 add default values to env variables description 2022-06-20 17:50:08 +02:00
Sven Holz
1850598038 add default values to env variables description 2022-06-20 17:46:30 +02:00
Sven Holz
c6e1cc3448 add default values to env variables description 2022-06-20 17:45:18 +02:00
Sven Holz
06cfd448da add default values to env variables description 2022-06-20 17:38:50 +02:00

View File

@@ -57,16 +57,16 @@ You can find everything under *./Docker_Build/* and in the python program itself
### ENV Variables ### ENV Variables
Name | Example | Usage | Option/Must Name | Example | Usage | Option/Must | Type | Default
:------: | :-----: | :-----: | :-----: :------: | :-----: | :-----: | :-----: | :-----: | :-----:
INFLUX_URL | http://10.0.0.1:8086 | InfluxDB Host | must INFLUX_URL | http://10.0.0.1:8086 | InfluxDB Host | must | URL | ---
INFLUX_TOKEN | eWOcp-MCv2Y3IJPlER7wc...ICKirhw0lwEczRNnrIoTqZAg== | InfluxDB API Token | must INFLUX_TOKEN | eWOcp-MCv2YPlER7wc...0zRNnrIoTqZAg== | InfluxDB API Token | must | String | ---
INFLUX_BUCKET | latency | InfluxDB Bucket | must INFLUX_BUCKET | latency | InfluxDB Bucket | must | String | ---
INFLUX_ORG | MyOrg | InfluxDB Organization | must INFLUX_ORG | MyOrg | InfluxDB Organization | must | String | ---
TARGET_HOST | 8.8.8.8 | Monitored Host (IP/FQDN) | must TARGET_HOST | 8.8.8.8 | Monitored Host (IP/FQDN) | must | FQDN or IP | ---
TARGET_TIMEOUT | 0.5 | ping timeout in sec. | option TARGET_TIMEOUT | 0.5 | ping timeout in sec. | optional | Float >0 | **1**
TARGET_TIMER | 3 | ping frequency in sec. | option TARGET_TIMER | 3 | ping frequency in sec. | optional | Int >1 | **5**
TARGET_LOCATION | Google | decript. location | option TARGET_LOCATION | Google | decript. location | optional | String |**unknown**
----- -----
@@ -76,7 +76,7 @@ TARGET_LOCATION | Google | decript. location | option
**Keep in mind it´s a OR decision not a AND** **Keep in mind it´s a OR decision not a AND**
See [./latency-monitor/config.ini](./latency-monitor/config.ini) See [./latency-monitor/config-template.ini](./latency-monitor/config-template.ini)
**ENV wins over file** **ENV wins over file**
@@ -245,7 +245,7 @@ Everything should be right in place now.
Just the certificates are missing look [here](#certificate) Just the certificates are missing look [here](#certificate)
Now run it and mybe pick a example dashboard for grafana from [here](#grafana-dashboard-examples) Now just start over and maybe pick an example dashboard for grafana from [here](#grafana-dashboard-examples)
----- -----
----- -----