This commit is contained in:
Thorsten Spille 2025-07-25 16:11:46 +02:00 committed by GitHub
parent 8bab934bdf
commit d9585b5940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ object Influxdb2Writer "influxdb2-writer" {
EOF EOF
cat > /etc/icinga2/zones.conf <<EOF cat > /etc/icinga2/zones.conf <<EOF
object Endpoint "$(hostname -f)" {} object Endpoint "$(hostname -f)" { host = "127.0.0.1" }
object Zone "master" { endpoints = [ "$(hostname -f)" ] } object Zone "master" { endpoints = [ "$(hostname -f)" ] }
object Zone "global-templates" { global = true } object Zone "global-templates" { global = true }
object Zone "director-global" { global = true } object Zone "director-global" { global = true }
@ -328,7 +328,6 @@ echo "[INFO] Icinga Director Setup wird ausgeführt."
cat > /etc/icingaweb2/modules/director/kickstart.ini <<EOF cat > /etc/icingaweb2/modules/director/kickstart.ini <<EOF
[config] [config]
endpoint = "$(hostname -f)" endpoint = "$(hostname -f)"
host = "127.0.0.1"
port = "5665" port = "5665"
username = "director" username = "director"
password = "${ICINGA_API_USER_PASS}" password = "${ICINGA_API_USER_PASS}"