mirror of
https://github.com/bashclub/zamba-lxc-toolbox
synced 2025-10-02 16:26:18 +00:00
add commandtransports
This commit is contained in:
@@ -145,6 +145,16 @@ cat << EOF > /etc/icingaweb2/modules/icingadb/redis.ini
|
|||||||
[redis1]
|
[redis1]
|
||||||
host = "localhost"
|
host = "localhost"
|
||||||
EOF
|
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
|
icinga2 feature enable icingadb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user