summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2015-12-15 16:38:37 -0500
committerJoel Diaz <jdiaz@redhat.com>2015-12-15 16:38:37 -0500
commit64961a11488fdbeee6aaf75c9f1e025a31be6b9f (patch)
treea29337bacf6c19c4dfffe707d0825a8cd96504aa
parente26eab4bdc817ef02a16e8b5c6c49e311a721e7b (diff)
parentc13034c800796b7abef3f8ec0e5dd01919ae493c (diff)
downloadopenshift-64961a11488fdbeee6aaf75c9f1e025a31be6b9f.tar.gz
openshift-64961a11488fdbeee6aaf75c9f1e025a31be6b9f.tar.bz2
openshift-64961a11488fdbeee6aaf75c9f1e025a31be6b9f.tar.xz
openshift-64961a11488fdbeee6aaf75c9f1e025a31be6b9f.zip
Merge pull request #1069 from joelddiaz/docker-dns
Add zabbix values to track docker container DNS results
-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'