Compare commits

...

6 Commits

6 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -2032583383825652303
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_AKKA_ACTOR_SYSTEM"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "empty"
}
}
}
}

View File

@ -0,0 +1,20 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -2762734518011173234
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_AKKA_ACTOR_SYSTEM"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "empty"
}
}
}
}

View File

@ -0,0 +1,20 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -6631049820606012010
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_AKKA_ACTOR_SYSTEM"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "empty"
}
}
}
}

View File

@ -0,0 +1,40 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -2133422980246552080
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "HTTP_MONITOR"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HTTP_MONITOR_NAME"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "SMS GW"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
# negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMS-Gateway"
}
}
}
}
}

View File

@ -0,0 +1,20 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -684876440934732772
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_AKKA_ACTOR_SYSTEM"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "empty"
}
}
}
}

View File

@ -0,0 +1,40 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = 1412312951147139652
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "HTTP_MONITOR"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HTTP_MONITOR_NAME"
}
string {
case_sensitive = true
# negate = false
operator = "BEGINS_WITH"
value = "SMS GW"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = [ "PROCESS_GROUP_TO_HOST", "PROCESS_GROUP_TO_SERVICE" ]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
# negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMS-Gateway"
}
}
}
}
}