add commandtransports

This commit is contained in:
Thorsten Spille 2025-07-29 23:46:41 +02:00 committed by GitHub
parent a6914a7252
commit 8eb2e0d323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,6 +145,16 @@ cat << EOF > /etc/icingaweb2/modules/icingadb/redis.ini
[redis1]
host = "localhost"
EOF
cat << EOF > /etc/icingaweb2/modules/icingadb/commandtransports.ini
[$(hostname -f)]
transport = "api"
host = "$(hostname -f)"
port = "5665"
username = "director"
password = "${ICINGA_API_USER_PASS}"
EOF
icinga2 feature enable icingadb