Update install-service.sh

This commit is contained in:
Thorsten Spille
2025-07-23 17:18:32 +02:00
committed by GitHub
parent f8e3fe0af2
commit 8d89d61de3

View File

@@ -146,12 +146,13 @@ object ApiUser "director" {
permissions = [ "object/modify/*", "object/query/*", "status/query", "actions/*", "events/*" ] permissions = [ "object/modify/*", "object/query/*", "status/query", "actions/*", "events/*" ]
} }
EOF EOF
# KORREKTUR: 'token' wurde zu 'auth_token' geändert.
bash -c "cat > /etc/icinga2/features-available/influxdb2-writer.conf" <<EOF bash -c "cat > /etc/icinga2/features-available/influxdb2-writer.conf" <<EOF
object Influxdb2Writer "influxdb2-writer" { object Influxdb2Writer "influxdb2-writer" {
host = "http://127.0.0.1:8086" host = "http://127.0.0.1:8086"
organization = "icinga" organization = "icinga"
bucket = "icinga" bucket = "icinga"
token = "${INFLUX_ICINGA_TOKEN}" auth_token = "${INFLUX_ICINGA_TOKEN}"
} }
EOF EOF