mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
32e6e6ff04
commit
a59687312e
@ -149,19 +149,19 @@ object Zone ZoneName {
|
|||||||
ZONES
|
ZONES
|
||||||
|
|
||||||
if [ "$upstream_connect" = "y" ]; then
|
if [ "$upstream_connect" = "y" ]; then
|
||||||
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
|
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
|
||||||
parent = "$upstream_name"
|
parent = "$upstream_name"
|
||||||
ZONES
|
ZONES
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
|
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
|
||||||
endpoints = [ NodeName ]
|
endpoints = [ NodeName ]
|
||||||
}
|
}
|
||||||
|
|
||||||
ZONES
|
ZONES
|
||||||
|
|
||||||
if [ "$upstream_connect" = "y" ]; then
|
if [ "$upstream_connect" = "y" ]; then
|
||||||
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
|
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
|
||||||
object Endpoint "$upstream_name" {
|
object Endpoint "$upstream_name" {
|
||||||
host = "$upstream_host"
|
host = "$upstream_host"
|
||||||
port = "$upstream_port"
|
port = "$upstream_port"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user