Browse Source

add item/trigger for dns tests on all currently running containers

Joel Diaz 9 years ago
parent
commit
5f44d90a16
1 changed files with 10 additions and 0 deletions
  1. 10 0
      roles/os_zabbix/vars/template_docker.yml

+ 10 - 0
roles/os_zabbix/vars/template_docker.yml

@@ -17,6 +17,11 @@ g_template_docker:
     - Docker Daemon
     value_type: int
 
+  - key: docker.container.existing.dns.resolution.failed
+    applications:
+    - Docker Daemon
+    value_type: int
+
   - key: docker.storage.is_loopback
     applications:
     - Docker Storage
@@ -72,6 +77,11 @@ g_template_docker:
     url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_dns.asciidoc'
     priority: high
 
+  - name: 'docker.container.existing.dns.resolution.failed on {HOST.NAME}'
+    expression: '{Template Docker:docker.container.existing.dns.resolution.failed.min(#3)}>0'
+    url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_dns.asciidoc'
+    priority: high
+
   - name: 'Docker storage is using LOOPBACK on {HOST.NAME}'
     expression: '{Template Docker:docker.storage.is_loopback.last()}<>0'
     url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_loopback.asciidoc'