1 # DO NOT EDIT - This file is being maintained by Chef
3 # Set maximum number of update processes to run at once
6 # Maximum number of graphs to generate at once
10 # Render pages and graphs on demand
15 rrdcached_socket /var/run/rrdcached.sock
17 # Configure alert targets
18 contact.admins.command mail -s "Munin Notification for ${var:host}" admins@openstreetmap.org
19 contact.admins.always_send invalid
20 contact.null.command cat > /dev/null
21 contact.null.always_send invalid
23 # Send alerts to the admins by default
26 # Ignore uncontactable hosts for twelve hours
28 <% @clients.sort { |a,b| a.name <=> b.name }.each do |client| -%>
30 # Configure monitoring for <%= client.name %>
32 <% if Time.now - Time.at(client[:ohai_time]) > @expiry_time -%>
35 <% if client[:networking][:roles][:external][:zone] == "ucl" -%>
36 address <%= client.internal_ipaddress || client.external_ipaddress %>
37 <% elsif client[:networking][:roles][:external][:zone] == "ams" -%>
38 address <%= client.internal_ipaddress || client.external_ipaddress %>
39 <% elsif client[:networking][:roles][:external][:zone] == "bm" -%>
40 address <%= client.internal_ipaddress || client.external_ipaddress %>
41 <% elsif client.external_ipaddress -%>
42 address <%= client.external_ipaddress %>
45 <% if client[:munin][:plugins] -%>
46 <% client[:munin][:plugins].keys.sort.each do |plugin| -%>
47 <% client[:munin][:plugins][plugin].keys.sort.each do |value| -%>
48 <% if client[:munin][:plugins][plugin][value].kind_of?(Hash) -%>
49 <% if client[:munin][:plugins][plugin][value][:graph] -%>
50 <%= plugin %>.<%= value %>.graph <%= client[:munin][:plugins][plugin][value][:graph] %>
52 <% if client[:munin][:plugins][plugin][value][:draw] -%>
53 <%= plugin %>.<%= value %>.draw <%= client[:munin][:plugins][plugin][value][:draw] %>
55 <% if client[:munin][:plugins][plugin][value][:label] -%>
56 <%= plugin %>.<%= value %>.label <%= client[:munin][:plugins][plugin][value][:label] %>
58 <% if client[:munin][:plugins][plugin][value][:warning] -%>
59 <%= plugin %>.<%= value %>.warning <%= client[:munin][:plugins][plugin][value][:warning] %>
61 <% if client[:munin][:plugins][plugin][value][:critical] -%>
62 <%= plugin %>.<%= value %>.critical <%= client[:munin][:plugins][plugin][value][:critical] %>
65 <%= plugin %>.<%= value %> <%= client[:munin][:plugins][plugin][value] %>
70 <% if client[:munin][:graphs] -%>
71 <% client[:munin][:graphs].keys.sort.each do |graph| -%>
72 <% if client[:munin][:graphs][graph][:title] -%>
73 <%= graph %>.graph_title <%= client[:munin][:graphs][graph][:title] %>
75 <% if client[:munin][:graphs][graph][:vlabel] -%>
76 <%= graph %>.graph_vlabel <%= client[:munin][:graphs][graph][:vlabel] %>
78 <% if client[:munin][:graphs][graph][:category] -%>
79 <%= graph %>.graph_category <%= client[:munin][:graphs][graph][:category] %>
81 <% client[:munin][:graphs][graph][:values].keys.sort.each do |value| -%>
82 <% if client[:munin][:graphs][graph][:values][value][:sum] -%>
83 <%= graph %>.<%= value %>.sum <%= client[:munin][:graphs][graph][:values][value][:sum].join(" ") %>
85 <% if client[:munin][:graphs][graph][:values][value][:label] -%>
86 <%= graph %>.<%= value %>.label <%= client[:munin][:graphs][graph][:values][value][:label] %>
93 # Configure monitoring for switch1.openstreetmap.org
94 [openstreetmap.org;switch1.openstreetmap.org]
98 # Configure monitoring for pdu1.ams.openstreetmap.org
99 [openstreetmap.org;pdu1.ams.openstreetmap.org]
103 # Configure monitoring for pdu1.ams.openstreetmap.org
104 [openstreetmap.org;pdu2.ams.openstreetmap.org]
108 # Configure compound graphs for ams.openstreetmap.org
109 [ams.openstreetmap.org]
111 apcpdu_current.graph_title Load
112 apcpdu_current.graph_args --lower-limit 0
113 apcpdu_current.graph_vlabel Amps
114 apcpdu_current.graph_category power
115 apcpdu_current.graph_order pdu1=pdu1.ams.openstreetmap.org:snmp_pdu1_ams_openstreetmap_org_apcpdu_current.current pdu2=pdu2.ams.openstreetmap.org:snmp_pdu2_ams_openstreetmap_org_apcpdu_current.current
116 apcpdu_current.graph_total total
117 apcpdu_current.pdu1.label PDU A
118 apcpdu_current.pdu1.draw AREASTACK
119 apcpdu_current.pdu1.min 0
120 apcpdu_current.pdu2.label PDU B
121 apcpdu_current.pdu2.draw AREASTACK
122 apcpdu_current.pdu2.min 0
123 apcpdu_power.graph_title Power
124 apcpdu_power.graph_args --base 1000 --lower-limit 0
125 apcpdu_power.graph_vlabel Watts
126 apcpdu_power.graph_category power
127 apcpdu_power.graph_order pdu1=pdu1.ams.openstreetmap.org:snmp_pdu1_ams_openstreetmap_org_apcpdu_power.power pdu2=pdu2.ams.openstreetmap.org:snmp_pdu2_ams_openstreetmap_org_apcpdu_power.power
128 apcpdu_power.graph_total total
129 apcpdu_power.pdu1.label PDU A
130 apcpdu_power.pdu1.draw AREASTACK
131 apcpdu_power.pdu1.min 0
132 apcpdu_power.pdu2.label PDU B
133 apcpdu_power.pdu2.draw AREASTACK
134 apcpdu_power.pdu2.min 0
135 apcpdu_temperature.graph_title Temperature
136 apcpdu_temperature.graph_args --lower-limit 0
137 apcpdu_temperature.graph_vlabel Degrees Celsius
138 apcpdu_temperature.graph_category sensors
139 apcpdu_temperature.graph_order temperature=pdu1.ams.openstreetmap.org:snmp_pdu1_ams_openstreetmap_org_apcpdu_temperature.temperature
140 apcpdu_temperature.temperature.label Temperature
141 apcpdu_temperature.temperature.draw LINE2
142 apcpdu_temperature.temperature.min 0
143 apcpdu_humidity.graph_title Humidity
144 apcpdu_humidity.graph_args --lower-limit 0
145 apcpdu_humidity.graph_vlabel %
146 apcpdu_humidity.graph_category sensors
147 apcpdu_humidity.graph_order humidity=pdu1.ams.openstreetmap.org:snmp_pdu1_ams_openstreetmap_org_apcpdu_humidity.humidity
148 apcpdu_humidity.humidity.label Humidity
149 apcpdu_humidity.humidity.draw LINE2
150 apcpdu_humidity.humidity.min 0
151 <% unless @frontends.empty? -%>
153 # Configure compound graphs for www.openstreetmap.org
154 [www.openstreetmap.org]
156 apache_accesses.graph_title Apache accesses
157 apache_accesses.graph_vlabel accesses / ${graph_period}
158 apache_accesses.graph_category apache
159 apache_accesses.graph_args --lower-limit 0
160 apache_accesses.accesses80.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:apache_accesses.accesses80", @frontends %>
161 apache_accesses.accesses80.label port 80
162 apache_accesses.accesses80.min 0
163 apache_volume.graph_title Apache volume
164 apache_volume.graph_vlabel bytes per ${graph_period}
165 apache_volume.graph_category apache
166 apache_volume.graph_args --lower-limit 0
167 apache_volume.volume80.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:apache_volume.volume80", @frontends %>
168 apache_volume.volume80.label port 80
169 apache_volume.volume80.min 0
170 network_in.graph_title Inbound network traffic
171 network_in.graph_vlabel bits in per ${graph_period}
172 network_in.graph_category network
173 network_in.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:if_%%interface%%.down", @frontends %>
174 network_in.graph_total total
175 network_in.graph_args --lower-limit 0
176 <% @frontends.each do |fe| -%>
177 network_in.<%= fe[:name].tr("-", "_") %>.label <%= fe[:name] %>
178 network_in.<%= fe[:name].tr("-", "_") %>.cdef <%= fe[:name].tr("-", "_") %>,8,*
179 network_in.<%= fe[:name].tr("-", "_") %>.draw AREASTACK
180 network_in.<%= fe[:name].tr("-", "_") %>.min 0
182 network_out.graph_title Outbound network traffic
183 network_out.graph_vlabel bits out per ${graph_period}
184 network_out.graph_category network
185 network_out.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:if_%%interface%%.up", @frontends %>
186 network_out.graph_total total
187 network_out.graph_args --lower-limit 0
188 <% @frontends.each do |fe| -%>
189 network_out.<%= fe[:name].tr("-", "_") %>.label <%= fe[:name] %>
190 network_out.<%= fe[:name].tr("-", "_") %>.cdef <%= fe[:name].tr("-", "_") %>,8,*
191 network_out.<%= fe[:name].tr("-", "_") %>.draw AREASTACK
192 network_out.<%= fe[:name].tr("-", "_") %>.min 0
194 api_calls_www.graph_title Active requests
195 api_calls_www.graph_vlabel Number of requests
196 api_calls_www.graph_category api
197 api_calls_www.graph_order map upload amf history full trkpts web other
198 api_calls_www.web.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.web", @frontends %>
199 api_calls_www.web.label Web site traffic
200 api_calls_www.upload.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.upload", @frontends %>
201 api_calls_www.upload.label Changeset diff uploads
202 api_calls_www.other.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.other", @frontends %>
203 api_calls_www.other.label Other API calls
204 api_calls_www.amf.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.amf", @frontends %>
205 api_calls_www.amf.label AMF API calls
206 api_calls_www.history.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.history", @frontends %>
207 api_calls_www.history.label Element history fetches
208 api_calls_www.full.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.full", @frontends %>
209 api_calls_www.full.label Full element fetches
210 api_calls_www.map.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.map", @frontends %>
211 api_calls_www.map.label Map API calls
212 api_calls_www.trkpts.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_%%%name%%%.trkpts", @frontends %>
213 api_calls_www.trkpts.label GPX trackpoints calls
214 api_calls_error.graph_title HTTP errors
215 api_calls_error.graph_vlabel Number of errors per ${graph_period}
216 api_calls_error.graph_category api
217 api_calls_error.graph_order http401 http422 http500 http502 http503 http509
218 api_calls_error.http401.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http401", @frontends %>
219 api_calls_error.http401.label 401 Unauthorized
220 api_calls_error.http401.warning :0.5
221 api_calls_error.http422.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http422", @frontends %>
222 api_calls_error.http422.label 422 Unprocessable Entity
223 api_calls_error.http422.warning :0.5
224 api_calls_error.http500.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http500", @frontends %>
225 api_calls_error.http500.label 500 Internal Server Error
226 api_calls_error.http500.warning :0.5
227 api_calls_error.http502.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http502", @frontends %>
228 api_calls_error.http502.label 502 Bad Gateway
229 api_calls_error.http502.warning :0.5
230 api_calls_error.http503.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http503", @frontends %>
231 api_calls_error.http503.label 503 Service Unavailable
232 api_calls_error.http503.warning :0.5
233 api_calls_error.http509.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_status.http509", @frontends %>
234 api_calls_error.http509.label 509 Bandwidth Limit Exceeded
235 api_calls_error.http509.warning :5
236 api_calls_num.graph_title Requests processed
237 api_calls_num.graph_vlabel Number of requests per ${graph_period}
238 api_calls_num.graph_category api
239 api_calls_num.graph_order map upload amf history full trkpts web other
240 api_calls_num.web.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.web", @frontends %>
241 api_calls_num.web.label Web site traffic
242 api_calls_num.upload.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.upload", @frontends %>
243 api_calls_num.upload.label Changeset diff uploads
244 api_calls_num.other.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.other", @frontends %>
245 api_calls_num.other.label Other API calls
246 api_calls_num.amf.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.amf", @frontends %>
247 api_calls_num.amf.label AMF API calls
248 api_calls_num.history.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.history", @frontends %>
249 api_calls_num.history.label Element history fetches
250 api_calls_num.full.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.full", @frontends %>
251 api_calls_num.full.label Full element fetches
252 api_calls_num.map.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.map", @frontends %>
253 api_calls_num.map.label Map API calls
254 api_calls_num.trkpts.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_calls_num.trkpts", @frontends %>
255 api_calls_num.trkpts.label GPX trackpoints calls
256 api_waits_www.graph_title Wait times for active requests
257 api_waits_www.graph_vlabel Average time of requests
258 api_waits_www.graph_category api
259 api_waits_www.graph_order map upload amf history full trkpts web other
260 api_waits_www.web.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.web", @frontends %>
261 api_waits_www.web.label Web site traffic
262 api_waits_www.web.cdef web,2,/
263 api_waits_www.upload.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.upload", @frontends %>
264 api_waits_www.upload.label Changeset diff uploads
265 api_waits_www.upload.cdef upload,2,/
266 api_waits_www.other.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.other", @frontends %>
267 api_waits_www.other.label Other API calls
268 api_waits_www.other.cdef other,2,/
269 api_waits_www.amf.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.amf", @frontends %>
270 api_waits_www.amf.label AMF API calls
271 api_waits_www.amf.cdef amf,2,/
272 api_waits_www.history.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.history", @frontends %>
273 api_waits_www.history.label Element history fetches
274 api_waits_www.history.cdef history,2,/
275 api_waits_www.full.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.full", @frontends %>
276 api_waits_www.full.label Full element fetches
277 api_waits_www.full.cdef full,2,/
278 api_waits_www.map.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.map", @frontends %>
279 api_waits_www.map.label Map API calls
280 api_waits_www.map.cdef map,2,/
281 api_waits_www.trkpts.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:api_waits_%%%name%%%.trkpts", @frontends %>
282 api_waits_www.trkpts.label GPX trackpoints calls
283 api_waits_www.trkpts.cdef trkpts,2,/
284 memcached_multi_commands.graph_title Commands
285 memcached_multi_commands.graph_vlabel Commands per ${graph_period}
286 memcached_multi_commands.graph_category memcached
287 memcached_multi_commands.graph_order cmd_get cmd_set cmd_touch get_hits get_misses delete_hits delete_misses incr_hits incr_misses decr_hits decr_misses touch_hits touch_misses
288 memcached_multi_commands.cmd_get.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.cmd_get", @frontends %>
289 memcached_multi_commands.cmd_get.label Gets
290 memcached_multi_commands.cmd_set.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.cmd_set", @frontends %>
291 memcached_multi_commands.cmd_set.label Sets
292 memcached_multi_commands.cmd_touch.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.cmd_touch", @frontends %>
293 memcached_multi_commands.cmd_touch.label Touches
294 memcached_multi_commands.get_hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.get_hits", @frontends %>
295 memcached_multi_commands.get_hits.label Get Hits
296 memcached_multi_commands.get_misses.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.get_misses", @frontends %>
297 memcached_multi_commands.get_misses.label Get Misses
298 memcached_multi_commands.delete_hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.delete_hits", @frontends %>
299 memcached_multi_commands.delete_hits.label Delete Hits
300 memcached_multi_commands.delete_misses.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.delete_misses", @frontends %>
301 memcached_multi_commands.delete_misses.label Delete Misses
302 memcached_multi_commands.incr_hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.incr_hits", @frontends %>
303 memcached_multi_commands.incr_hits.label Increment Hits
304 memcached_multi_commands.incr_misses.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.incr_misses", @frontends %>
305 memcached_multi_commands.incr_misses.label Increment Misses
306 memcached_multi_commands.decr_hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.decr_hits", @frontends %>
307 memcached_multi_commands.decr_hits.label Decrement Hits
308 memcached_multi_commands.decr_misses.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.decr_misses", @frontends %>
309 memcached_multi_commands.decr_misses.label Decrement Misses
310 memcached_multi_commands.touch_hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.touch_hits", @frontends %>
311 memcached_multi_commands.touch_hits.label Touch Hits
312 memcached_multi_commands.touch_misses.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_commands.touch_misses", @frontends %>
313 memcached_multi_commands.touch_misses.label Touch Misses
314 memcached_multi_conns.graph_title Connections
315 memcached_multi_conns.graph_vlabel Connections per ${graph_period}
316 memcached_multi_conns.graph_category memcached
317 memcached_multi_conns.graph_order max_conns curr_conns avg_conns
318 memcached_multi_conns.curr_conns.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_conns.curr_conns", @frontends %>
319 memcached_multi_conns.curr_conns.label Current Connections
320 memcached_multi_conns.max_conns.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_conns.max_conns", @frontends %>
321 memcached_multi_conns.max_conns.label Max Connections
322 memcached_multi_conns.avg_conns.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_conns.avg_conns", @frontends %>
323 memcached_multi_conns.avg_conns.label Avg Connections
324 memcached_multi_evictions.graph_title Evictions
325 memcached_multi_evictions.graph_vlabel Evictions per ${graph_period}
326 memcached_multi_evictions.graph_category memcached
327 memcached_multi_evictions.evictions.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_evictions.evictions", @frontends %>
328 memcached_multi_evictions.evictions.label Evictions
329 memcached_multi_evictions.evicted_nonzero.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_evictions.evicted_nonzero", @frontends %>
330 memcached_multi_evictions.evicted_nonzero.label Evictions prior to Expire
331 memcached_multi_evictions.reclaimed.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_evictions.reclaimed", @frontends %>
332 memcached_multi_evictions.reclaimed.label Reclaimed Items
333 memcached_multi_items.graph_title Items
334 memcached_multi_items.graph_vlabel Items in Memcached
335 memcached_multi_items.graph_category memcached
336 memcached_multi_items.graph_order curr_items total_items
337 memcached_multi_items.curr_items.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_items.curr_items", @frontends %>
338 memcached_multi_items.curr_items.label Current Items
339 memcached_multi_items.total_items.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_items.total_items", @frontends %>
340 memcached_multi_items.total_items.label New Items
341 memcached_multi_memory.graph_title Memory Usage
342 memcached_multi_memory.graph_vlabel Bytes Used
343 memcached_multi_memory.graph_category memcached
344 memcached_multi_memory.graph_order limit_maxbytes bytes
345 memcached_multi_memory.limit_maxbytes.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_memory.limit_maxbytes", @frontends %>
346 memcached_multi_memory.limit_maxbytes.label Maximum Bytes Allocated
347 memcached_multi_memory.bytes.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_memory.bytes", @frontends %>
348 memcached_multi_memory.bytes.label Current Bytes Used
349 memcached_multi_bytes.graph_title Network Traffic
350 memcached_multi_bytes.graph_args --base 1000
351 memcached_multi_bytes.graph_vlabel bits in (-) / out (+)
352 memcached_multi_bytes.graph_category memcached
353 memcached_multi_bytes.graph_order bytes_read bytes_written
354 memcached_multi_bytes.bytes_read.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_bytes.bytes_read", @frontends %>
355 memcached_multi_bytes.bytes_read.label Network Traffic coming in (-)
356 memcached_multi_bytes.bytes_read.cdef bytes_read,8,*
357 memcached_multi_bytes.bytes_read.graph no
358 memcached_multi_bytes.bytes_written.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:memcached_multi_bytes.bytes_written", @frontends %>
359 memcached_multi_bytes.bytes_written.negative bytes_read
360 memcached_multi_bytes.bytes_written.label Traffic in (-) / out (+)
361 memcached_multi_bytes.bytes_written.cdef bytes_written,8,*
363 <% unless @renderers.empty? -%>
365 # Configure compound graphs for render.openstreetmap.org
366 [render.openstreetmap.org]
368 apache_accesses.graph_title Apache accesses
369 apache_accesses.graph_vlabel accesses / ${graph_period}
370 apache_accesses.graph_category apache
371 apache_accesses.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:apache_accesses.accesses80", @renderers %>
372 apache_accesses.graph_total total
373 apache_accesses.graph_args --lower-limit 0
374 <% @renderers.each do |rs| -%>
375 apache_accesses.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
376 apache_accesses.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
377 apache_accesses.<%= rs[:name].tr("-", "_") %>.min 0
379 apache_volume.graph_title Apache volume
380 apache_volume.graph_vlabel bytes per ${graph_period}
381 apache_volume.graph_category apache
382 apache_volume.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:apache_volume.volume80", @renderers %>
383 apache_volume.graph_total total
384 apache_volume.graph_args --lower-limit 0
385 <% @renderers.each do |rs| -%>
386 apache_volume.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
387 apache_volume.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
388 apache_volume.<%= rs[:name].tr("-", "_") %>.min 0
390 network_in.graph_title Inbound network traffic
391 network_in.graph_vlabel bits in per ${graph_period}
392 network_in.graph_category network
393 network_in.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:if_%%interface%%.down", @renderers %>
394 network_in.graph_total total
395 network_in.graph_args --lower-limit 0
396 <% @renderers.each do |rs| -%>
397 network_in.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
398 network_in.<%= rs[:name].tr("-", "_") %>.cdef <%= rs[:name].tr("-", "_") %>,8,*
399 network_in.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
400 network_in.<%= rs[:name].tr("-", "_") %>.min 0
402 network_out.graph_title Outbound network traffic
403 network_out.graph_vlabel bits out per ${graph_period}
404 network_out.graph_category network
405 network_out.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap.org:if_%%interface%%.up", @renderers %>
406 network_out.graph_total total
407 network_out.graph_args --lower-limit 0
408 <% @renderers.each do |rs| -%>
409 network_out.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
410 network_out.<%= rs[:name].tr("-", "_") %>.cdef <%= rs[:name].tr("-", "_") %>,8,*
411 network_out.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
412 network_out.<%= rs[:name].tr("-", "_") %>.min 0
414 mod_tile_fresh.graph_title freshness of served tiles
415 mod_tile_fresh.graph_args --base 1000 -l 0
416 mod_tile_fresh.graph_vlabel tiles per ${graph_period}
417 mod_tile_fresh.graph_order fresh freshrender old oldrender outdated outdatedrender
418 mod_tile_fresh.graph_category mod_tile
419 mod_tile_fresh.fresh.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.fresh", @renderers %>
420 mod_tile_fresh.fresh.label Fresh from disk
421 mod_tile_fresh.fresh.draw AREA
422 mod_tile_fresh.freshrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.freshrender", @renderers %>
423 mod_tile_fresh.freshrender.label Freshly rendered
424 mod_tile_fresh.freshrender.draw STACK
425 mod_tile_fresh.old.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.old", @renderers %>
426 mod_tile_fresh.old.label Old from disk
427 mod_tile_fresh.old.draw STACK
428 mod_tile_fresh.oldrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.oldrender", @renderers %>
429 mod_tile_fresh.oldrender.label Old tile, attempted render
430 mod_tile_fresh.oldrender.draw STACK
431 mod_tile_fresh.outdated.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.outdated", @renderers %>
432 mod_tile_fresh.outdated.label Outdated from disk
433 mod_tile_fresh.outdated.draw STACK
434 mod_tile_fresh.outdatedrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_fresh.outdatedrender", @renderers %>
435 mod_tile_fresh.outdatedrender.label Outdated tile, attempted render
436 mod_tile_fresh.outdatedrender.draw STACK
437 mod_tile_response.graph_title mod_tile HTTP response codes
438 mod_tile_response.graph_args --base 1000 -l 0
439 mod_tile_response.graph_vlabel responses per ${graph_period}
440 mod_tile_response.graph_order response200 response304 response404 response500
441 mod_tile_response.graph_category mod_tile
442 mod_tile_response.response200.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_response.response200", @renderers %>
443 mod_tile_response.response200.label 200 OK
444 mod_tile_response.response200.draw AREA
445 mod_tile_response.response304.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_response.response304", @renderers %>
446 mod_tile_response.response304.label 304 Not Modified
447 mod_tile_response.response304.draw STACK
448 mod_tile_response.response404.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_response.response404", @renderers %>
449 mod_tile_response.response404.label 404 Not Found
450 mod_tile_response.response404.draw STACK
451 mod_tile_response.response500.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_response.response500", @renderers %>
452 mod_tile_response.response500.label 500 Internal Error
453 mod_tile_response.response500.draw STACK
454 mod_tile_zoom.graph_title mod_tile responses by zoom layer
455 mod_tile_zoom.graph_args --base 1000 -l 0
456 mod_tile_zoom.graph_vlabel responses per ${graph_period}
457 mod_tile_zoom.graph_order z1 z2 z3 z4 z5 z6
458 mod_tile_zoom.graph_category mod_tile
459 mod_tile_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z1", @renderers %>
460 mod_tile_zoom.z1.label z1-8
461 mod_tile_zoom.z1.draw AREA
462 mod_tile_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z2", @renderers %>
463 mod_tile_zoom.z2.label z9-12
464 mod_tile_zoom.z2.draw STACK
465 mod_tile_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z3", @renderers %>
466 mod_tile_zoom.z3.label z13-14
467 mod_tile_zoom.z3.draw STACK
468 mod_tile_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z4", @renderers %>
469 mod_tile_zoom.z4.label z15-16
470 mod_tile_zoom.z4.draw STACK
471 mod_tile_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z5", @renderers %>
472 mod_tile_zoom.z5.label z17-18
473 mod_tile_zoom.z5.draw STACK
474 mod_tile_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:mod_tile_zoom.z6", @renderers %>
475 mod_tile_zoom.z6.label z19-20
476 mod_tile_zoom.z6.draw STACK
477 renderd_queue.graph_title Renderd queue length
478 renderd_queue.graph_args --base 1000 -l 0
479 renderd_queue.graph_vlabel metatiles
480 renderd_queue.graph_order reqPrio req reqLow dirty reqBulk
481 renderd_queue.graph_category renderd
482 renderd_queue.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue.reqPrio", @renderers %>
483 renderd_queue.reqPrio.label Priority request Queue
484 renderd_queue.reqPrio.type GAUGE
485 renderd_queue.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue.req", @renderers %>
486 renderd_queue.req.label Request Queue
487 renderd_queue.req.type GAUGE
488 renderd_queue.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue.reqLow", @renderers %>
489 renderd_queue.reqLow.label Low priority request Queue
490 renderd_queue.reqLow.type GAUGE
491 renderd_queue.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue.dirty", @renderers %>
492 renderd_queue.dirty.label Dirty Queue
493 renderd_queue.dirty.type GAUGE
494 renderd_queue.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue.reqBulk", @renderers %>
495 renderd_queue.reqBulk.label Bulk request Queue
496 renderd_queue.reqBulk.type GAUGE
497 renderd_processed.graph_title Renderd throughput
498 renderd_processed.graph_args --base 1000 -l 0
499 renderd_processed.graph_vlabel Metatiles per ${graph_period}
500 renderd_processed.graph_order reqPrio req reqLow dirty reqBulk dropped
501 renderd_processed.graph_category renderd
502 renderd_processed.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
503 renderd_processed.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.reqPrio", @renderers %>
504 renderd_processed.reqPrio.label Priority request Queue
505 renderd_processed.reqPrio.draw AREA
506 renderd_processed.reqPrio.info Throughput of Metatiles submitted high priority for on the fly rendering
507 renderd_processed.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.req", @renderers %>
508 renderd_processed.req.label Request Queue
509 renderd_processed.req.draw STACK
510 renderd_processed.req.info Throughput of Metatiles submitted for on the fly rendering
511 renderd_processed.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.reqLow", @renderers %>
512 renderd_processed.reqLow.label Low priority request Queue
513 renderd_processed.reqLow.draw STACK
514 renderd_processed.reqLow.info Throughput of Metatiles submitted low priority for on the fly rendering
515 renderd_processed.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.dirty", @renderers %>
516 renderd_processed.dirty.label Dirty Queue
517 renderd_processed.dirty.draw STACK
518 renderd_processed.dirty.info Throughput of dirty Metatiles submitted for re-render
519 renderd_processed.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.reqBulk", @renderers %>
520 renderd_processed.reqBulk.label Bulk request Queue
521 renderd_processed.reqBulk.draw STACK
522 renderd_processed.reqBulk.info Throughput of Metatiles submitted with background priority
523 renderd_processed.dropped.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_processed.dropped", @renderers %>
524 renderd_processed.dropped.label Dropped (x20)
525 renderd_processed.dropped.draw LINE2
526 renderd_processed.dropped.info Number of Tiles dropped due to queue overload (x20)
527 renderd_processed.dropped.cdef dropped,20,/
528 renderd_zoom.graph_title Renderd throughput by zoom
529 renderd_zoom.graph_args --base 1000 -l 0
530 renderd_zoom.graph_vlabel Metatiles per ${graph_period}
531 renderd_zoom.graph_order z1 z2 z3 z4 z5 z6
532 renderd_zoom.graph_category renderd
533 renderd_zoom.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
534 renderd_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z1", @renderers %>
535 renderd_zoom.z1.label zoom z0 - z8
536 renderd_zoom.z1.draw AREA
537 renderd_zoom.z1.info Throughput of Metatiles for z0 - z8
538 renderd_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z2", @renderers %>
539 renderd_zoom.z2.label zoom z9 - z12
540 renderd_zoom.z2.draw STACK
541 renderd_zoom.z2.info Throughput of Metatiles for z9 - z12
542 renderd_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z3", @renderers %>
543 renderd_zoom.z3.label zoom z13 - z14
544 renderd_zoom.z3.draw STACK
545 renderd_zoom.z3.info Throughput of Metatiles for z13 - z14
546 renderd_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z4", @renderers %>
547 renderd_zoom.z4.label zoom z15 - z16
548 renderd_zoom.z4.draw STACK
549 renderd_zoom.z4.info Throughput of Metatiles for z15 - z16
550 renderd_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z5", @renderers %>
551 renderd_zoom.z5.label zoom z17 - z18
552 renderd_zoom.z5.draw STACK
553 renderd_zoom.z5.info Throughput of Metatiles for z17 - z18
554 renderd_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom.z6", @renderers %>
555 renderd_zoom.z6.label zoom z19 - z20
556 renderd_zoom.z6.draw STACK
557 renderd_zoom.z6.info Throughput of Metatiles for z19 - z20
558 renderd_queue_time.graph_title Renderd time spent by queue
559 renderd_queue_time.graph_args --base 1000 -l 0
560 renderd_queue_time.graph_vlabel metatiles
561 renderd_queue_time.graph_order reqPrio req reqLow dirty reqBulk
562 renderd_queue_time.graph_category renderd
563 renderd_queue_time.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue_time.reqPrio", @renderers %>
564 renderd_queue_time.reqPrio.label Priority request queue
565 renderd_queue_time.reqPrio.cdef reqPrio,1000,/
566 renderd_queue_time.reqPrio.draw AREA
567 renderd_queue_time.reqPrio.info Time for priority request queue
568 renderd_queue_time.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue_time.req", @renderers %>
569 renderd_queue_time.req.label Request queue
570 renderd_queue_time.req.cdef req,1000,/
571 renderd_queue_time.req.draw STACK
572 renderd_queue_time.req.info Time for Request queue
573 renderd_queue_time.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue_time.reqLow", @renderers %>
574 renderd_queue_time.reqLow.label Low priority request queue
575 renderd_queue_time.reqLow.cdef reqLow,1000,/
576 renderd_queue_time.reqLow.draw STACK
577 renderd_queue_time.reqLow.info Time for low priority request queue
578 renderd_queue_time.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue_time.dirty", @renderers %>
579 renderd_queue_time.dirty.label Dirty queue
580 renderd_queue_time.dirty.cdef dirty,1000,/
581 renderd_queue_time.dirty.draw STACK
582 renderd_queue_time.dirty.info Time for dirty queue
583 renderd_queue_time.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_queue_time.reqBulk", @renderers %>
584 renderd_queue_time.reqBulk.label Bulk queue
585 renderd_queue_time.reqBulk.cdef reqBulk,1000,/
586 renderd_queue_time.reqBulk.draw STACK
587 renderd_queue_time.reqBulk.info Time for bulk queue
588 renderd_zoom_time.graph_title Renderd time spent by zoom
589 renderd_zoom_time.graph_args --base 1000 -l 0
590 renderd_zoom_time.graph_vlabel time spent per ${graph_period}
591 renderd_zoom_time.graph_order zoomtime1 zoomtime2 zoomtime3 zoomtime4 zoomtime5 zoomtime6
592 renderd_zoom_time.graph_category renderd
593 renderd_zoom_time.graph_info Displays the amount of time renderd has spent rendering tiles of a given zoom per ${graph_period}
594 renderd_zoom_time.zoomtime1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime1", @renderers %>
595 renderd_zoom_time.zoomtime1.label zoom z0 - z8
596 renderd_zoom_time.zoomtime1.cdef zoomtime1,1000,/
597 renderd_zoom_time.zoomtime1.draw AREA
598 renderd_zoom_time.zoomtime1.info Time for Metatiles z0 - z8
599 renderd_zoom_time.zoomtime2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime2", @renderers %>
600 renderd_zoom_time.zoomtime2.label zoom z9 - z12
601 renderd_zoom_time.zoomtime2.cdef zoomtime2,1000,/
602 renderd_zoom_time.zoomtime2.draw STACK
603 renderd_zoom_time.zoomtime2.info Time for Metatiles for z9 - z12
604 renderd_zoom_time.zoomtime3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime3", @renderers %>
605 renderd_zoom_time.zoomtime3.label zoom z13 - z14
606 renderd_zoom_time.zoomtime3.cdef zoomtime3,1000,/
607 renderd_zoom_time.zoomtime3.draw STACK
608 renderd_zoom_time.zoomtime3.info Time for Metatiles for z13 - z14
609 renderd_zoom_time.zoomtime4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime4", @renderers %>
610 renderd_zoom_time.zoomtime4.label zoom z15 - z16
611 renderd_zoom_time.zoomtime4.cdef zoomtime4,1000,/
612 renderd_zoom_time.zoomtime4.draw STACK
613 renderd_zoom_time.zoomtime4.info Time for Metatiles for z15 - z16
614 renderd_zoom_time.zoomtime5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime5", @renderers %>
615 renderd_zoom_time.zoomtime5.label zoom z17 - z18
616 renderd_zoom_time.zoomtime5.cdef zoomtime5,1000,/
617 renderd_zoom_time.zoomtime5.draw STACK
618 renderd_zoom_time.zoomtime5.info Time for Metatiles for z17 - z18
619 renderd_zoom_time.zoomtime6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:renderd_zoom_time.zoomtime6", @renderers %>
620 renderd_zoom_time.zoomtime6.label zoom z19 - z20
621 renderd_zoom_time.zoomtime6.cdef zoomtime6,1000,/
622 renderd_zoom_time.zoomtime6.draw STACK
623 renderd_zoom_time.zoomtime6.info Time for Metatiles for z19 - z20
625 <% unless @geocoders.empty? -%>
627 # Configure compound graphs for nominatim.openstreetmap.org
628 [nominatim.openstreetmap.org]
630 nominatim_requests.graph_title Requests by API call
631 nominatim_requests.graph_args --base 1000 -l 0
632 nominatim_requests.graph_vlabel requests per minute
633 nominatim_requests.graph_category nominatim
634 nominatim_requests.graph_order z1 z2 z3 z4
635 nominatim_requests.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_requests.z1", @geocoders %>
636 nominatim_requests.z1.label reverse
637 nominatim_requests.z1.draw AREA
638 nominatim_requests.z1.type GAUGE
639 nominatim_requests.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_requests.z2", @geocoders %>
640 nominatim_requests.z2.label search (successful)
641 nominatim_requests.z2.draw STACK
642 nominatim_requests.z2.type GAUGE
643 nominatim_requests.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_requests.z3", @geocoders %>
644 nominatim_requests.z3.label search (no result)
645 nominatim_requests.z3.draw STACK
646 nominatim_requests.z3.type GAUGE
647 nominatim_requests.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_requests.z4", @geocoders %>
648 nominatim_requests.z4.label details
649 nominatim_requests.z4.draw STACK
650 nominatim_requests.z4.type GAUGE
651 nominatim_throttled_ips.graph_title Restricted IPs
652 nominatim_throttled_ips.graph_args -l 0
653 nominatim_throttled_ips.graph_vlabel number of IPs
654 nominatim_throttled_ips.graph_category nominatim
655 nominatim_throttled_ips.graph_order bulk block
656 nominatim_throttled_ips.bulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_throttled_ips.bulk", @geocoders %>
657 nominatim_throttled_ips.bulk.label bulk
658 nominatim_throttled_ips.bulk.draw AREA
659 nominatim_throttled_ips.bulk.type GAUGE
660 nominatim_throttled_ips.block.sum <%= Chef::Munin.expand "%%name%%.openstreetmap.org:nominatim_throttled_ips.block", @geocoders %>
661 nominatim_throttled_ips.block.label blocked
662 nominatim_throttled_ips.block.draw STACK
663 nominatim_throttled_ips.block.type GAUGE