diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-05 23:48:10 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-05 23:48:10 +0300 |
commit | 3c58b8e8f6f888473b37b91cc604b22647bec686 (patch) | |
tree | 0404142e3e564597937591faed2f5d3342810802 /config.py | |
parent | ab4d535e4caf1d5fc1ed8097407b13bf8a0d98af (diff) |
telegraf advanced tempalte working
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -1,5 +1,5 @@ -INTERACTIVE_MODE=False -PLATFORM="Nifi" +INTERACTIVE_MODE=True +PLATFORM="Telegraf" #### Nifi #### @@ -10,13 +10,12 @@ NIFI_DEPLOY=True NIFI_USER="lab08nifiuser" NIFI_PASS="tartunifi2023" -MEASUREMENT_NAME="Ateena_ilm" +MEASUREMENT_NAME="testers_measurementersNames" ## Database -#DB_URL="http://influxdb:8086/write?db=nifi_weatherData" DB_URL="http://influxdb:8086" #DB_NAME="nifi_weatherData" -DB_NAME="nifi_weatherData" +DB_NAME="telegraf_weatherData" DB_USER="admin" DB_PASS="admin" @@ -31,7 +30,7 @@ DB_PASS="admin" ## Needed if Interactive mode turned off API_URL="https://api.open-meteo.com/v1/forecast?latitude=37.9838&longitude=23.7275¤t_weather=true" API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} -API_USERNAME="Placeholder" -API_PASSWORD="Placehoder" -PIPELINE_SCHEDULING_PERIOD="10" -PIPELINE_NAME="Ateena" +API_USERNAME="rasmus.luha" +API_PASSWORD="rasmusPass" +PIPELINE_SCHEDULING_PERIOD="15" +PIPELINE_NAME="TestPiper" |