summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2015-12-15 15:00:41 -0500
committerJoel Diaz <jdiaz@redhat.com>2015-12-15 15:00:41 -0500
commitc13034c800796b7abef3f8ec0e5dd01919ae493c (patch)
treedc0b1431710788c9d8f106235c66bb3d65e11dcc /roles/os_zabbix
parent23dd2c8c2df6ece45c47f212fa4bf3a1675b3aa1 (diff)
downloadopenshift-c13034c800796b7abef3f8ec0e5dd01919ae493c.tar.gz
openshift-c13034c800796b7abef3f8ec0e5dd01919ae493c.tar.bz2
openshift-c13034c800796b7abef3f8ec0e5dd01919ae493c.tar.xz
openshift-c13034c800796b7abef3f8ec0e5dd01919ae493c.zip
Add zabbix values to track docker container DNS results
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_docker.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_docker.yml b/roles/os_zabbix/vars/template_docker.yml
index bfabf50c5..91a2c400e 100644
--- a/roles/os_zabbix/vars/template_docker.yml
+++ b/roles/os_zabbix/vars/template_docker.yml
@@ -12,6 +12,11 @@ g_template_docker:
- Docker Daemon
value_type: int
+ - key: docker.container.dns.resolution
+ applications:
+ - Docker Daemon
+ value_type: int
+
- key: docker.storage.is_loopback
applications:
- Docker Storage
@@ -62,6 +67,11 @@ g_template_docker:
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_ping.asciidoc'
priority: high
+ - name: 'docker.container.dns.resolution failed on {HOST.NAME}'
+ expression: '{Template Docker:docker.container.dns.resolution.max(#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'