This commit is contained in:
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"rules": [
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "71111111-1111-4111-8111-111111111111",
|
||||
"name": "Monitoringbron levert geen recente gegevens",
|
||||
"enabled": true,
|
||||
"severity": "degraded",
|
||||
"scope": {
|
||||
"entityType": "data-source",
|
||||
"required": true
|
||||
},
|
||||
"condition": {
|
||||
"inputType": "datasource-health",
|
||||
"operator": "==",
|
||||
"threshold": "stale",
|
||||
"windowSeconds": 120
|
||||
},
|
||||
"evaluationIntervalSeconds": 30,
|
||||
"pendingSeconds": 120,
|
||||
"resolveSeconds": 60,
|
||||
"unknownBehavior": "become-unknown",
|
||||
"groupBy": [
|
||||
"source"
|
||||
],
|
||||
"suppressWhen": [],
|
||||
"message": {
|
||||
"titleKey": "alerts.datasourceStale.title",
|
||||
"bodyKey": "alerts.datasourceStale.body"
|
||||
}
|
||||
},
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "81111111-1111-4111-8111-111111111111",
|
||||
"name": "Container bevindt zich in een herstartlus",
|
||||
"enabled": true,
|
||||
"severity": "degraded",
|
||||
"scope": {
|
||||
"entityType": "container",
|
||||
"excludeIntentionalStopped": true
|
||||
},
|
||||
"condition": {
|
||||
"inputType": "event",
|
||||
"operator": ">=",
|
||||
"threshold": 3,
|
||||
"aggregation": "count",
|
||||
"windowSeconds": 900
|
||||
},
|
||||
"evaluationIntervalSeconds": 30,
|
||||
"pendingSeconds": 0,
|
||||
"resolveSeconds": 900,
|
||||
"unknownBehavior": "become-unknown",
|
||||
"groupBy": [
|
||||
"container",
|
||||
"application"
|
||||
],
|
||||
"suppressWhen": [
|
||||
"host.unreachable"
|
||||
],
|
||||
"message": {
|
||||
"titleKey": "alerts.containerRestartLoop.title",
|
||||
"bodyKey": "alerts.containerRestartLoop.body"
|
||||
}
|
||||
},
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "91111111-1111-4111-8111-111111111111",
|
||||
"name": "Disktemperatuur te hoog",
|
||||
"enabled": true,
|
||||
"severity": "degraded",
|
||||
"scope": {
|
||||
"entityType": "disk"
|
||||
},
|
||||
"condition": {
|
||||
"inputType": "metric",
|
||||
"metric": "storage.disk.temperature.maximum",
|
||||
"operator": ">=",
|
||||
"threshold": 50,
|
||||
"recoveryThreshold": 46,
|
||||
"aggregation": "max",
|
||||
"windowSeconds": 300
|
||||
},
|
||||
"evaluationIntervalSeconds": 30,
|
||||
"pendingSeconds": 300,
|
||||
"resolveSeconds": 300,
|
||||
"unknownBehavior": "retain-firing-as-unknown",
|
||||
"groupBy": [
|
||||
"disk",
|
||||
"server"
|
||||
],
|
||||
"suppressWhen": [
|
||||
"host.unreachable",
|
||||
"storage.source.unavailable"
|
||||
],
|
||||
"message": {
|
||||
"titleKey": "alerts.diskTemperature.title",
|
||||
"bodyKey": "alerts.diskTemperature.body"
|
||||
}
|
||||
},
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "a1111111-1111-4111-8111-111111111111",
|
||||
"name": "Service is niet bereikbaar",
|
||||
"enabled": true,
|
||||
"severity": "degraded",
|
||||
"scope": {
|
||||
"entityType": "service",
|
||||
"critical": true
|
||||
},
|
||||
"condition": {
|
||||
"inputType": "metric",
|
||||
"metric": "service.availability.minimum",
|
||||
"operator": "<",
|
||||
"threshold": 1,
|
||||
"aggregation": "min",
|
||||
"windowSeconds": 90
|
||||
},
|
||||
"evaluationIntervalSeconds": 30,
|
||||
"pendingSeconds": 90,
|
||||
"resolveSeconds": 60,
|
||||
"unknownBehavior": "become-unknown",
|
||||
"groupBy": [
|
||||
"service",
|
||||
"application"
|
||||
],
|
||||
"suppressWhen": [
|
||||
"host.unreachable",
|
||||
"network.gateway.unreachable",
|
||||
"dns.unavailable"
|
||||
],
|
||||
"message": {
|
||||
"titleKey": "alerts.serviceUnavailable.title",
|
||||
"bodyKey": "alerts.serviceUnavailable.body"
|
||||
}
|
||||
},
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "b1111111-1111-4111-8111-111111111111",
|
||||
"name": "Opslagpool bijna vol",
|
||||
"enabled": true,
|
||||
"severity": "critical",
|
||||
"scope": {
|
||||
"entityType": "storage_pool"
|
||||
},
|
||||
"condition": {
|
||||
"inputType": "metric",
|
||||
"metric": "storage.pool.utilization",
|
||||
"operator": ">=",
|
||||
"threshold": 97,
|
||||
"recoveryThreshold": 90,
|
||||
"aggregation": "max",
|
||||
"windowSeconds": 300
|
||||
},
|
||||
"evaluationIntervalSeconds": 60,
|
||||
"pendingSeconds": 300,
|
||||
"resolveSeconds": 300,
|
||||
"unknownBehavior": "retain-firing-as-unknown",
|
||||
"groupBy": [
|
||||
"pool",
|
||||
"server"
|
||||
],
|
||||
"suppressWhen": [
|
||||
"host.unreachable",
|
||||
"storage.source.unavailable"
|
||||
],
|
||||
"message": {
|
||||
"titleKey": "alerts.storagePoolCritical.title",
|
||||
"bodyKey": "alerts.storagePoolCritical.body"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user