summaryrefslogtreecommitdiffstats
path: root/templates/icinga.ini
blob: b178fb2eb3ae0d5abbda83de4f62e7715d93f36f (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
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
[icinga-uptime.graph]
check_command = "icinga"

[icinga-uptime.metrics_filters]
uptime.value = "$service_name_template$.perfdata.uptime.value"

[icinga-uptime.urlparams]
title = "Uptime"
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "sec"

[icinga-uptime.functions]
uptime.value = "alias(color($metric$, '#1a7dd7'), 'Uptime (s)')"


[icinga-host-checks.graph]
check_command = "icinga"

[icinga-host-checks.metrics_filters]
active_host_checks.value = "$service_name_template$.perfdata.active_host_checks.value"
passive_host_checks.value = "$service_name_template$.perfdata.passive_host_checks.value"

[icinga-host-checks.urlparams]
title = "Host Checks"
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-host-checks.functions]
active_host_checks.value = "alias(color($metric$, '#1a7dd7'), 'Active/s')"
passive_host_checks.value = "alias(color($metric$, '#0b3c68'), 'Passive/s')"


[icinga-service-checks.graph]
check_command = "icinga"

[icinga-service-checks.metrics_filters]
active_service_checks.value = "$service_name_template$.perfdata.active_service_checks.value"
passive_service_checks.value = "$service_name_template$.perfdata.passive_service_checks.value"

[icinga-service-checks.urlparams]
title = "Service Checks"
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-service-checks.functions]
active_service_checks.value = "alias(color($metric$, '#1a7dd7'), 'Active/s')"
passive_service_checks.value = "alias(color($metric$, '#0b3c68'), 'Passive/s')"


[icinga-hosts-state.graph]
check_command = "icinga"

[icinga-hosts-state.metrics_filters]
num_hosts_up.value = "$service_name_template$.perfdata.num_hosts_up.value"
num_hosts_down.value = "$service_name_template$.perfdata.num_hosts_down.value"
num_hosts_unreachable.value = "$service_name_template$.perfdata.num_hosts_unreachable.value"
num_hosts_pending.value = "$service_name_template$.perfdata.num_hosts_pending.value"

[icinga-hosts-state.urlparams]
title = "Host States"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-hosts-state.functions]
num_hosts_up.value = "alias(color($metric$, '#44bb77'), 'Up')"
num_hosts_down.value = "alias(color($metric$, '#ff5566'), 'Down')"
num_hosts_unreachable.value = "alias(color($metric$, '#c70fff'), 'Unreachable')"
num_hosts_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')"


[icinga-hosts-condition.graph]
check_command = "icinga"

[icinga-hosts-condition.metrics_filters]
num_hosts_flapping.value = "$service_name_template$.perfdata.num_hosts_flapping.value"
num_hosts_in_downtime.value = "$service_name_template$.perfdata.num_hosts_in_downtime.value"
num_hosts_acknowledged.value = "$service_name_template$.perfdata.num_hosts_acknowledged.value"

[icinga-hosts-condition.urlparams]
title = "Host Conditions"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-hosts-condition.functions]
num_hosts_flapping.value = "alias(color($metric$, '#c70fff'), 'Flapping')"
num_hosts_in_downtime.value = "alias(color($metric$, '#1a7dd7'), 'In Downtime')"
num_hosts_acknowledged.value = "alias(color($metric$, '#0b3c68'), 'Acknowledged')"


[icinga-services-state.graph]
check_command = "icinga"

[icinga-services-state.metrics_filters]
num_services_ok.value = "$service_name_template$.perfdata.num_services_ok.value"
num_services_warning.value = "$service_name_template$.perfdata.num_services_warning.value"
num_services_critical.value = "$service_name_template$.perfdata.num_services_critical.value"
num_services_unknown.value = "$service_name_template$.perfdata.num_services_unknown.value"
num_services_pending.value = "$service_name_template$.perfdata.num_services_pending.value"
num_services_unreachable.value = "$service_name_template$.perfdata.num_services_unreachable.value"

[icinga-services-state.urlparams]
title = "Service States"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-services-state.functions]
num_services_ok.value = "alias(color($metric$, '#44bb77'), 'Ok')"
num_services_warning.value = "alias(color($metric$, '#ffaa44'), 'Warning')"
num_services_critical.value = "alias(color($metric$, '#ff5566'), 'Critical')"
num_services_unknown.value = "alias(color($metric$, '#595959'), 'Unknown')"
num_services_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')"
num_services_unreachable.value = "alias(color($metric$, '#c70fff'), 'Unreachable')"


[icinga-services-condition.graph]
check_command = "icinga"

[icinga-services-condition.metrics_filters]
num_services_flapping.value = "$service_name_template$.perfdata.num_services_flapping.value"
num_services_in_downtime.value = "$service_name_template$.perfdata.num_services_in_downtime.value"
num_services_acknowledged.value = "$service_name_template$.perfdata.num_services_acknowledged.value"

[icinga-services-condition.urlparams]
title = "Service Conditions"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-services-condition.functions]
num_services_flapping.value = "alias(color($metric$, '#c70fff'), 'Flapping')"
num_services_in_downtime.value = "alias(color($metric$, '#1a7dd7'), 'In Downtime')"
num_services_acknowledged.value = "alias(color($metric$, '#0b3c68'), 'Acknowledged')"


[icinga-latency.graph]
check_command = "icinga"

[icinga-latency.metrics_filters]
min_latency.value = "$service_name_template$.perfdata.min_latency.value"
avg_latency.value = "$service_name_template$.perfdata.avg_latency.value"
max_latency.value = "$service_name_template$.perfdata.max_latency.value"

[icinga-latency.urlparams]
title = "Check Latency"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "sec"

[icinga-latency.functions]
min_latency.value = "alias(color($metric$, '#61aaed'), 'Min (s)')"
avg_latency.value = "alias(color($metric$, '#1a7dd7'), 'Avg (s)')"
max_latency.value = "alias(color($metric$, '#0b3c68'), 'Max (s)')"


[icinga-execution-time.graph]
check_command = "icinga"

[icinga-execution-time.metrics_filters]
min_execution_time.value = "$service_name_template$.perfdata.min_execution_time.value"
avg_execution_time.value = "$service_name_template$.perfdata.avg_execution_time.value"
max_execution_time.value = "$service_name_template$.perfdata.max_execution_time.value"

[icinga-execution-time.urlparams]
title = "Check Execution Time"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "sec"

[icinga-execution-time.functions]
min_execution_time.value = "alias(color($metric$, '#61aaed'), 'Min (s)')"
avg_execution_time.value = "alias(color($metric$, '#1a7dd7'), 'Avg (s)')"
max_execution_time.value = "alias(color($metric$, '#0b3c68'), 'Max (s)')"


[icinga-api-endpoints.graph]
check_command = "icinga"

[icinga-api-endpoints.metrics_filters]
api_num_endpoints.value = "$service_name_template$.perfdata.api_num_endpoints.value"
api_num_conn_endpoints.value = "$service_name_template$.perfdata.api_num_conn_endpoints.value"
api_num_not_conn_endpoints.value = "$service_name_template$.perfdata.api_num_not_conn_endpoints.value"

[icinga-api-endpoints.urlparams]
title = "API Endpoints"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-api-endpoints.functions]
api_num_endpoints.value = "alias(color($metric$, '#61aaed'), 'All')"
api_num_conn_endpoints.value = "alias(color($metric$, '#1a7dd7'), 'Connected')"
api_num_not_conn_endpoints.value = "alias(color($metric$, '#0b3c68'), 'Not Connected')"


[icinga-api-http-clients.graph]
check_command = "icinga"

[icinga-api-http-clients.metrics_filters]
api_num_http_clients.value = "$service_name_template$.perfdata.api_num_http_clients.value"

[icinga-api-http-clients.urlparams]
title = "API"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-api-http-clients.functions]
api_num_http_clients.value = "alias(color($metric$, '#1a7dd7'), 'HTTP Clients')"


[icinga-checker.graph]
check_command = "icinga"

[icinga-checker.metrics_filters]
checkercomponent_checker_idle.value = "$service_name_template$.perfdata.checkercomponent_checker_idle.value"
checkercomponent_checker_pending.value = "$service_name_template$.perfdata.checkercomponent_checker_pending.value"

[icinga-checker.urlparams]
title = "Checker"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-checker.functions]
checkercomponent_checker_idle.value = "alias(color($metric$, '#61aaed'), 'Idle')"
checkercomponent_checker_pending.value = "alias(color($metric$, '#1a7dd7'), 'Pending')"


[icinga-ido-mysql-queries.graph]
check_command = "icinga"

[icinga-ido-mysql-queries.metrics_filters]
idomysqlconnection_ido-mysql_queries_rate.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_queries_rate.value"

[icinga-ido-mysql-queries.urlparams]
title = "IDO MySQL"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-ido-mysql-queries.functions]
idomysqlconnection_ido-mysql_queries_rate.value = "alias(color($metric$, '#1a7dd7'), 'Queries/s')"


[icinga-ido-mysql-queue.graph]
check_command = "icinga"

[icinga-ido-mysql-queue.metrics_filters]
idomysqlconnection_ido-mysql_query_queue_items.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_query_queue_items.value"
idomysqlconnection_ido-mysql_query_queue_item_rate.value = "$service_name_template$.perfdata.idomysqlconnection_ido-mysql_query_queue_item_rate.value"

[icinga-ido-mysql-queue.urlparams]
title = "IDO MySQL Queue"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-ido-mysql-queue.functions]
idomysqlconnection_ido-mysql_query_queue_items.value = "alias(color($metric$, '#1a7dd7'), 'Items')"
idomysqlconnection_ido-mysql_query_queue_item_rate.value = "alias(color($metric$, '#0b3c68'), 'Items/s')"


[icinga-graphite-queue.graph]
check_command = "icinga"

[icinga-graphite-queue.metrics_filters]
graphitewriter_graphite_work_queue_items.value = "$service_name_template$.perfdata.graphitewriter_graphite_work_queue_items.value"
graphitewriter_graphite_work_queue_item_rate.value = "$service_name_template$.perfdata.graphitewriter_graphite_work_queue_item_rate.value"

[icinga-graphite-queue.urlparams]
title = "Graphite Queue"
areaMode = "none"
lineWidth = "2"
min = "0"
yUnitSystem = "none"

[icinga-graphite-queue.functions]
graphitewriter_graphite_work_queue_items.value = "alias(color($metric$, '#1a7dd7'), 'Items')"
graphitewriter_graphite_work_queue_item_rate.value = "alias(color($metric$, '#0b3c68'), 'Items/s')"