added HEAL flag for low docker storage and high docker memory usage
@@ -109,12 +109,12 @@ g_template_docker:
# The storage checks run every 10 minutes. Trigering on two item values
# means pages will begin after 30 minutes same as the previous interval
# of 10 minutes.
- - name: "Critically low docker storage data space on {HOST.NAME}"
+ - name: "[HEAL] Critically low docker storage data space on {HOST.NAME}"
expression: "{Template Docker:docker.storage.data.space.percent_available.max(#2)}<5 or {Template Docker:docker.storage.data.space.available.max(#2)}<5" # < 5% or < 5GB
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_docker_storage.asciidoc"
priority: high
- - name: "Critically High Memory usage of docker on {HOST.NAME}"
+ - name: "[HEAL] Critically High Memory usage of docker on {HOST.NAME}"
expression: "{Template Docker:docker.memoryusage.rss.last()}>10737418240"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_docker_memoryusage.asciidoc"
priority: high
@@ -126,24 +126,24 @@ g_template_docker:
- "Critically High Memory usage of docker on {HOST.NAME}"
priority: average
- - name: "Critically low docker storage metadata space on {HOST.NAME}"
+ - name: "[HEAL] Critically low docker storage metadata space on {HOST.NAME}"
expression: "{Template Docker:docker.storage.metadata.space.percent_available.max(#2)}<5 or {Template Docker:docker.storage.metadata.space.available.max(#2)}<0.005" # < 5% or < 5MB
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_docker_storage.asciidoc"
priority: high
# Put triggers that depend on other triggers here (deps must be created first)
- - name: "Low docker storage data space on {HOST.NAME}"
+ - name: "[HEAL] Low docker storage data space on {HOST.NAME}"
expression: "{Template Docker:docker.storage.data.space.percent_available.max(#2)}<10 or {Template Docker:docker.storage.data.space.available.max(#2)}<10" # < 10% or < 10GB
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_docker_storage.asciidoc"
dependencies:
- - "Critically low docker storage data space on {HOST.NAME}"
+ - "[HEAL] Critically low docker storage data space on {HOST.NAME}"
priority: average
- - name: "Low docker storage metadata space on {HOST.NAME}"
+ - name: "[HEAL] Low docker storage metadata space on {HOST.NAME}"
expression: "{Template Docker:docker.storage.metadata.space.percent_available.max(#2)}<10 or {Template Docker:docker.storage.metadata.space.available.max(#2)}<0.01" # < 10% or < 10MB
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_docker_storage.asciidoc"
dependencies:
- - "Critically low docker storage metadata space on {HOST.NAME}"
+ - "[HEAL] Critically low docker storage metadata space on {HOST.NAME}"
priority: average
zdiscoveryrules:
