-
Notifications
You must be signed in to change notification settings - Fork 0
/
evQueue.yaml
182 lines (182 loc) · 5.9 KB
/
evQueue.yaml
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
zabbix_export:
version: '6.0'
date: '2023-11-15T11:14:16Z'
groups:
-
uuid: cce4e6eeebcb4b628e25d795cf8f1f0a
name: evqueue
templates:
-
uuid: 816396ab4fcc4b85adee839e84550e38
template: evQueue
name: evQueue
description: 'evQueue monitoring template'
groups:
-
name: evqueue
items:
-
uuid: 01a1deb19a4441fb8e4d789eac62cbf7
name: 'Statistics (global)'
key: 'evqueue.api[statistics, query, --type, global]'
history: 7d
trends: '0'
value_type: TEXT
-
uuid: 23da1b6054be4727af26a4961580086b
name: 'Statistics (queues)'
key: 'evqueue.api[statistics, query, --type, queue]'
history: 7d
trends: '0'
value_type: TEXT
-
uuid: b3f964c0af4c468cb2f2e33abb35e4f9
name: 'Connections (API)'
type: DEPENDENT
key: evqueue.statistics.current_api_connections
delay: '0'
history: 7d
preprocessing:
-
type: XMLPATH
parameters:
- string(/response/statistics/@current_api_connections)
master_item:
key: 'evqueue.api[statistics, query, --type, global]'
-
uuid: d2c4e6d19f5745ffa0ab5b956c96d1a3
name: 'Connections (Websocket)'
type: DEPENDENT
key: evqueue.statistics.current_ws_connections
delay: '0'
history: 7d
preprocessing:
-
type: XMLPATH
parameters:
- string(/response/statistics/@current_ws_connections)
master_item:
key: 'evqueue.api[statistics, query, --type, global]'
-
uuid: 3c79bbdb18c846da983fcae27291c2cb
name: 'Instances executing'
type: DEPENDENT
key: evqueue.statistics.instances_executing
delay: '0'
history: 7d
preprocessing:
-
type: XMLPATH
parameters:
- string(/response/statistics/@workflow_instance_executing)
master_item:
key: 'evqueue.api[statistics, query, --type, global]'
-
uuid: 1a5b22f58b14466f9e41e70992aa61cf
name: 'Instances launched'
type: DEPENDENT
key: evqueue.statistics.instances_launched
delay: '0'
history: 7d
value_type: FLOAT
units: 'WF / min'
preprocessing:
-
type: XMLPATH
parameters:
- string(/response/statistics/@workflow_instance_launched)
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '60'
master_item:
key: 'evqueue.api[statistics, query, --type, global]'
-
uuid: 70413c8392ee40b08a36505c4b2e0835
name: 'Core Process'
key: 'proc.num[, evqueue, , evqueue --daemon]'
history: 7d
trends: '0'
triggers:
-
uuid: cf397827f2a5472bb6eeee73ebfaa82d
expression: 'last(/evQueue/proc.num[, evqueue, , evqueue --daemon])=0'
name: 'evQueue core down'
priority: DISASTER
discovery_rules:
-
uuid: 7ce4b953865e440482f4e28c70d544d6
name: Queues
key: 'evqueue.api[queuepool, list]'
lifetime: 7d
item_prototypes:
-
uuid: 9514482a6938480382ab1a2ae8bd14c3
name: 'Queue {#NAME} concurrency'
type: DEPENDENT
key: 'evqueue.queues[{#NAME}, concurrency]'
delay: '0'
history: 7d
trends: '0'
preprocessing:
-
type: XMLPATH
parameters:
- 'string(/response/statistics/queue[@name=''{#NAME}'']/@concurrency)'
master_item:
key: 'evqueue.api[statistics, query, --type, queue]'
-
uuid: 10ea9975e57e4a4fbdc3c4538d4da7df
name: 'Queue {#NAME} running tasks'
type: DEPENDENT
key: 'evqueue.queues[{#NAME}, running_tasks]'
delay: '0'
history: 7d
trends: '0'
preprocessing:
-
type: XMLPATH
parameters:
- 'string(/response/statistics/queue[@name=''{#NAME}'']/@running_tasks)'
master_item:
key: 'evqueue.api[statistics, query, --type, queue]'
-
uuid: b6a7abf702ed4b0c821e8ee704cc28cc
name: 'Queue {#NAME} size'
type: DEPENDENT
key: 'evqueue.queues[{#NAME}, size]'
delay: '0'
history: 7d
trends: '0'
preprocessing:
-
type: XMLPATH
parameters:
- 'string(/response/statistics/queue[@name=''{#NAME}'']/@size)'
master_item:
key: 'evqueue.api[statistics, query, --type, queue]'
-
uuid: 0962a6524f0f4216a2780624b7fdcabf
name: 'Queue {#NAME} capacity'
type: CALCULATED
key: 'evqueue.queue[{#NAME}, capacity]'
value_type: FLOAT
units: '%'
params: 'last(//evqueue.queues[{#NAME}, running_tasks]) / last(//evqueue.queues[{#NAME}, concurrency]) * 100'
lld_macro_paths:
-
lld_macro: '{#NAME}'
path: '$[''@name'']'
preprocessing:
-
type: XML_TO_JSON
parameters:
- ''
-
type: JSONPATH
parameters:
- $.response.queue