mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-31 07:39:22 +02:00
f
This commit is contained in:
parent
d9585b5940
commit
2744bd543f
1 changed files with 9 additions and 2 deletions
|
@ -81,7 +81,14 @@ EOF
|
||||||
cat > /etc/icinga2/conf.d/api-users.conf <<EOF
|
cat > /etc/icinga2/conf.d/api-users.conf <<EOF
|
||||||
object ApiUser "director" {
|
object ApiUser "director" {
|
||||||
password = "${ICINGA_API_USER_PASS}"
|
password = "${ICINGA_API_USER_PASS}"
|
||||||
permissions = [ "object/modify/*", "object/query/*", "status/query", "actions/*", "events/*" ]
|
permissions = [
|
||||||
|
"object/modify/*",
|
||||||
|
"object/query/*",
|
||||||
|
"object/list/*",
|
||||||
|
"status/query",
|
||||||
|
"actions/*",
|
||||||
|
"events/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -117,7 +124,7 @@ logging:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
icinga2 feature enable icingadb
|
icinga2 feature enable icingadb
|
||||||
#systemctl restart icinga2
|
systemctl restart icinga2
|
||||||
|
|
||||||
mkdir -p /etc/icingaweb2
|
mkdir -p /etc/icingaweb2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue