Added supress options for main VDLM manage

feature/VDLM-changesManagmentZone
Muminovic Mersa 2022-08-10 15:59:11 +02:00
parent 92e98feddc
commit 7b79db734e
1 changed files with 110 additions and 1 deletions

View File

@ -19,5 +19,114 @@
"entitySelector": "type(HOST),tag({{.compassIDs}})" "entitySelector": "type(HOST),tag({{.compassIDs}})"
} }
], ],
"rules": [] "rules": [
{
"type": "SERVICE",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "SERVICE_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "PingResource",
"negate": true,
"caseSensitive": true
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "HealthResource",
"negate": true,
"caseSensitive": true
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "PrometheusResource",
"negate": true,
"caseSensitive": true
}
}
]
},
{
"type": "PROCESS_GROUP",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "PROCESS_GROUP_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
}
]
},
{
"type": "HOST",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "HOST_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
}
]
}
]
} }