From 6526f9c0ef7bccac4eef78364f74e82a996def26 Mon Sep 17 00:00:00 2001 From: Joel Diaz Date: Tue, 19 Jan 2016 11:47:44 -0500 Subject: add ability to disable ztriggers and disable new container dns check --- roles/lib_zabbix/tasks/create_template.yml | 1 + roles/os_zabbix/vars/template_docker.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml index 47749389e..61344357a 100644 --- a/roles/lib_zabbix/tasks/create_template.yml +++ b/roles/lib_zabbix/tasks/create_template.yml @@ -57,6 +57,7 @@ expression: "{{ item.expression }}" priority: "{{ item.priority }}" url: "{{ item.url | default(None, True) }}" + status: "{{ item.status | default('', True) }}" with_items: template.ztriggers when: template.ztriggers is defined diff --git a/roles/os_zabbix/vars/template_docker.yml b/roles/os_zabbix/vars/template_docker.yml index a05e552e3..dd13e76f7 100644 --- a/roles/os_zabbix/vars/template_docker.yml +++ b/roles/os_zabbix/vars/template_docker.yml @@ -72,10 +72,12 @@ g_template_docker: url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_ping.asciidoc' priority: high + # Re-enable for OpenShift 3.1.1 (https://bugzilla.redhat.com/show_bug.cgi?id=1292971#c6) - name: 'docker.container.dns.resolution failed on {HOST.NAME}' expression: '{Template Docker:docker.container.dns.resolution.min(#3)}>0' url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_docker_dns.asciidoc' priority: average + status: disabled - name: 'docker.container.existing.dns.resolution.failed on {HOST.NAME}' expression: '{Template Docker:docker.container.existing.dns.resolution.failed.min(#3)}>0' -- cgit v1.2.3 From 482fc9fe83a6bf3dd87fe0f30df304909392554a Mon Sep 17 00:00:00 2001 From: Matt Woodson Date: Tue, 19 Jan 2016 12:12:41 -0500 Subject: oso_monitoring: add the zabbix libs --- roles/oso_monitoring_tools/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/oso_monitoring_tools/tasks/main.yml b/roles/oso_monitoring_tools/tasks/main.yml index b165f9a45..c90fc56e2 100644 --- a/roles/oso_monitoring_tools/tasks/main.yml +++ b/roles/oso_monitoring_tools/tasks/main.yml @@ -7,6 +7,7 @@ with_items: - openshift-tools-scripts-monitoring-zagg-client - python-openshift-tools-monitoring-zagg + - python-openshift-tools-monitoring-zabbix - debug: var=g_zagg_client_config -- cgit v1.2.3