diff options
author | Matt Woodson <mwoodson@redhat.com> | 2016-02-01 10:20:05 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2016-02-01 10:20:05 -0500 |
commit | e3eb34ad13a61fc5691a0d33dd0b04324f282fa5 (patch) | |
tree | a2c1d9cb6618afba0588226835167792e0f33cc3 /roles | |
parent | d19a54ccfb7a2a927e9988af638acb566573f433 (diff) | |
download | openshift-e3eb34ad13a61fc5691a0d33dd0b04324f282fa5.tar.gz openshift-e3eb34ad13a61fc5691a0d33dd0b04324f282fa5.tar.bz2 openshift-e3eb34ad13a61fc5691a0d33dd0b04324f282fa5.tar.xz openshift-e3eb34ad13a61fc5691a0d33dd0b04324f282fa5.zip |
zabbix: added master local api items and triggers
Diffstat (limited to 'roles')
-rw-r--r-- | roles/os_zabbix/vars/template_openshift_master.yml | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_master.yml b/roles/os_zabbix/vars/template_openshift_master.yml index 12ea36c8b..9d20eb012 100644 --- a/roles/os_zabbix/vars/template_openshift_master.yml +++ b/roles/os_zabbix/vars/template_openshift_master.yml @@ -20,13 +20,26 @@ g_template_openshift_master: - Openshift Master - key: openshift.master.api.ping - description: "Verify that the Openshift API is up" + description: "Verify that the Openshift API is up (uses the cluster API URL)" + type: int + applications: + - Openshift Master + + - key: openshift.master.local.api.ping + description: "Verify that the Openshift API is up on the host (uses the API URL as the https://127.0.0.1)" type: int applications: - Openshift Master - key: openshift.master.api.healthz - description: "Checks the healthz check of the master's api: https://master_host/healthz" + description: "Checks the healthz check of the master's api: https://<cluster_api_url>/healthz" + type: int + data_type: bool + applications: + - Openshift Master + + - key: openshift.master.local.api.healthz + description: "Checks the healthz check of the master's api: https://127.0.0.1/healthz" type: int data_type: bool applications: @@ -292,6 +305,11 @@ g_template_openshift_master: - name: 'Openshift Master API health check is failing on {HOST.NAME}' expression: '{Template Openshift Master:openshift.master.api.healthz.max(#3)}<1' url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc' + priority: high + + - name: 'Openshift Master Local API health check is failing on {HOST.NAME}' + expression: '{Template Openshift Master:openshift.master.local.api.healthz.max(#3)}<1' + url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc' dependencies: - 'Openshift Master process not running on {HOST.NAME}' priority: high @@ -299,6 +317,11 @@ g_template_openshift_master: - name: 'Openshift Master API PING check is failing on {HOST.NAME}' expression: '{Template Openshift Master:openshift.master.api.ping.max(#3)}<1' url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc' + priority: high + + - name: 'Openshift Master Local API PING check is failing on {HOST.NAME}' + expression: '{Template Openshift Master:openshift.master.local.api.ping.max(#3)}<1' + url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc' dependencies: - 'Openshift Master process not running on {HOST.NAME}' priority: high |