blob: cd702a8146f386e8f56fd3731a0c89baccdadf71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
---
g_template_openshift_master:
name: Template Openshift Master
zitems:
- name: create_app
applications:
- Openshift Master
key: create_app
- key: openshift.master.process.count
description: Shows number of master processes running
type: int
applications:
- Openshift Master
- key: openshift.master.user.count
description: Shows number of users in a cluster
type: int
applications:
- Openshift Master
- key: openshift.master.pod.running.count
description: Shows number of pods running
type: int
applications:
- Openshift Master
- key: openshift.project.counter
description: Shows number of projects on a cluster
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.create.success
description: Show number of successful create actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.create.fail
description: Show number of failed create actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.delete.success
description: Show number of successful delete actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.delete.fail
description: Show number of failed delete actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.get.success
description: Show number of successful get actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.get.fail
description: Show number of failed get actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.set.success
description: Show number of successful set actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.set.fail
description: Show number of failed set actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.update.success
description: Show number of successful update actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.update.fail
description: Show number of failed update actions
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.watchers
description: Show number of etcd watchers
type: int
applications:
- Openshift Master
- key: openshift.master.etcd.ping
description: etcd ping
type: int
applications:
- Openshift Master
ztriggers:
- name: 'Application creation has failed on {HOST.NAME}'
expression: '{Template Openshift Master:create_app.last(#1)}=1 and {Template Openshift Master:create_app.last(#2)}=1'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_create_app.asciidoc'
priority: avg
- name: 'Openshift Master process not running on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.process.count.max(#3)}<1'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: high
- name: 'Too many Openshift Master processes running on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.process.count.min(#3)}>1'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: high
- name: 'Number of users for Openshift Master on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.user.count.last()}=0'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: info
- name: 'There are no projects running on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.project.counter.last()}=0'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: info
- name: 'Low number of etcd watchers on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.etcd.watchers.last(#1)}<10 and {Template Openshift Master:openshift.master.etcd.watchers.last(#2)}<10'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_etcd.asciidoc'
priority: avg
- name: 'Etcd ping failed on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.etcd.ping.last(#1)}=0 and {Template Openshift Master:openshift.master.etcd.ping.last(#2)}=0'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_etcd.asciidoc'
priority: high
|