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[:hostname] <=> b[:hostname] }.each do |client| -%>
30 # Configure monitoring for <%= client[:fqdn] %>
31 [<%= client[:hostname] %>.openstreetmap]
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] == "ic" -%>
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] %>
92 <% unless @frontends.empty? && @backends.empty? -%>
94 # Configure compound graphs for www.openstreetmap.org
97 apache_accesses.graph_title Apache accesses
98 apache_accesses.graph_vlabel accesses / ${graph_period}
99 apache_accesses.graph_category apache
100 apache_accesses.graph_args --lower-limit 0
101 apache_accesses.accesses80.sum <%= Chef::Munin.expand "%%.openstreetmap:apache_accesses.accesses80", @frontends %>
102 apache_accesses.accesses80.label port 80
103 apache_accesses.accesses80.min 0
104 apache_volume.graph_title Apache volume
105 apache_volume.graph_vlabel bytes per ${graph_period}
106 apache_volume.graph_category apache
107 apache_volume.graph_args --lower-limit 0
108 apache_volume.volume80.sum <%= Chef::Munin.expand "%%.openstreetmap:apache_volume.volume80", @frontends %>
109 apache_volume.volume80.label port 80
110 apache_volume.volume80.min 0
111 if_eth0.graph_title eth0 traffic
112 if_eth0.graph_vlabel bits in (-) / out (+) per ${graph_period}
113 if_eth0.graph_category network
114 if_eth0.graph_order down up
115 if_eth0.down.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth0.down", @frontends %>
116 if_eth0.down.label received
117 if_eth0.down.cdef down,8,*
118 if_eth0.up.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth0.up", @frontends %>
119 if_eth0.up.label sent
120 if_eth0.up.cdef up,8,*
121 if_eth1.graph_title eth1 traffic
122 if_eth1.graph_vlabel bits in (-) / out (+) per ${graph_period}
123 if_eth1.graph_category network
124 if_eth1.graph_order down up
125 if_eth1.down.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth1.down", @frontends %>
126 if_eth1.down.label received
127 if_eth1.down.cdef down,8,*
128 if_eth1.up.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth1.up", @frontends %>
129 if_eth1.up.label sent
130 if_eth1.up.cdef up,8,*
131 api_calls_www.graph_title Active requests
132 api_calls_www.graph_vlabel Number of requests
133 api_calls_www.graph_category api
134 api_calls_www.graph_order map upload amf history full trkpts web other
135 api_calls_www.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.web", @frontends %>
136 api_calls_www.web.label Web site traffic
137 api_calls_www.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.upload", @frontends %>
138 api_calls_www.upload.label Changeset diff uploads
139 api_calls_www.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.other", @frontends %>
140 api_calls_www.other.label Other API calls
141 api_calls_www.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.amf", @frontends %>
142 api_calls_www.amf.label AMF API calls
143 api_calls_www.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.history", @frontends %>
144 api_calls_www.history.label Element history fetches
145 api_calls_www.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.full", @frontends %>
146 api_calls_www.full.label Full element fetches
147 api_calls_www.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.map", @frontends %>
148 api_calls_www.map.label Map API calls
149 api_calls_www.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%%.trkpts", @frontends %>
150 api_calls_www.trkpts.label GPX trackpoints calls
151 api_calls_error.graph_title HTTP errors
152 api_calls_error.graph_vlabel Number of errors per ${graph_period}
153 api_calls_error.graph_category api
154 api_calls_error.graph_order http401 http500 http502 http503 http509
155 api_calls_error.http401.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http401", @frontends %>
156 api_calls_error.http401.label 401 Unauthorized
157 api_calls_error.http401.warning :0.5
158 api_calls_error.http500.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http500", @frontends %>
159 api_calls_error.http500.label 500 Internal Server Error
160 api_calls_error.http500.warning :0.5
161 api_calls_error.http502.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http502", @frontends %>
162 api_calls_error.http502.label 502 Bad Gateway
163 api_calls_error.http502.warning :0.5
164 api_calls_error.http503.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http503", @frontends %>
165 api_calls_error.http503.label 503 Service Unavailable
166 api_calls_error.http503.warning :0.5
167 api_calls_error.http509.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http509", @frontends %>
168 api_calls_error.http509.label 509 Bandwidth Limit Exceeded
169 api_calls_error.http509.warning :5
170 api_calls_num.graph_title Requests processed
171 api_calls_num.graph_vlabel Number of requests per ${graph_period}
172 api_calls_num.graph_category api
173 api_calls_num.graph_order map upload amf history full trkpts web other
174 api_calls_num.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.web", @frontends %>
175 api_calls_num.web.label Web site traffic
176 api_calls_num.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.upload", @frontends %>
177 api_calls_num.upload.label Changeset diff uploads
178 api_calls_num.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.other", @frontends %>
179 api_calls_num.other.label Other API calls
180 api_calls_num.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.amf", @frontends %>
181 api_calls_num.amf.label AMF API calls
182 api_calls_num.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.history", @frontends %>
183 api_calls_num.history.label Element history fetches
184 api_calls_num.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.full", @frontends %>
185 api_calls_num.full.label Full element fetches
186 api_calls_num.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.map", @frontends %>
187 api_calls_num.map.label Map API calls
188 api_calls_num.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.trkpts", @frontends %>
189 api_calls_num.trkpts.label GPX trackpoints calls
190 api_waits_www.graph_title Wait times for active requests
191 api_waits_www.graph_vlabel Average time of requests
192 api_waits_www.graph_category api
193 api_waits_www.graph_order map upload amf history full trkpts web other
194 api_waits_www.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.web", @frontends %>
195 api_waits_www.web.label Web site traffic
196 api_waits_www.web.cdef web,2,/
197 api_waits_www.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.upload", @frontends %>
198 api_waits_www.upload.label Changeset diff uploads
199 api_waits_www.upload.cdef upload,2,/
200 api_waits_www.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.other", @frontends %>
201 api_waits_www.other.label Other API calls
202 api_waits_www.other.cdef other,2,/
203 api_waits_www.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.amf", @frontends %>
204 api_waits_www.amf.label AMF API calls
205 api_waits_www.amf.cdef amf,2,/
206 api_waits_www.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.history", @frontends %>
207 api_waits_www.history.label Element history fetches
208 api_waits_www.history.cdef history,2,/
209 api_waits_www.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.full", @frontends %>
210 api_waits_www.full.label Full element fetches
211 api_waits_www.full.cdef full,2,/
212 api_waits_www.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.map", @frontends %>
213 api_waits_www.map.label Map API calls
214 api_waits_www.map.cdef map,2,/
215 api_waits_www.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%%.trkpts", @frontends %>
216 api_waits_www.trkpts.label GPX trackpoints calls
217 api_waits_www.trkpts.cdef trkpts,2,/
218 memcached_multi_commands.graph_title Commands
219 memcached_multi_commands.graph_vlabel Commands per ${graph_period}
220 memcached_multi_commands.graph_category memcached
221 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
222 memcached_multi_commands.cmd_get.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.cmd_get", @backends %>
223 memcached_multi_commands.cmd_get.label Gets
224 memcached_multi_commands.cmd_set.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.cmd_set", @backends %>
225 memcached_multi_commands.cmd_set.label Sets
226 memcached_multi_commands.cmd_touch.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.cmd_touch", @backends %>
227 memcached_multi_commands.cmd_touch.label Touches
228 memcached_multi_commands.get_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.get_hits", @backends %>
229 memcached_multi_commands.get_hits.label Get Hits
230 memcached_multi_commands.get_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.get_misses", @backends %>
231 memcached_multi_commands.get_misses.label Get Misses
232 memcached_multi_commands.delete_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.delete_hits", @backends %>
233 memcached_multi_commands.delete_hits.label Delete Hits
234 memcached_multi_commands.delete_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.delete_misses", @backends %>
235 memcached_multi_commands.delete_misses.label Delete Misses
236 memcached_multi_commands.incr_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.incr_hits", @backends %>
237 memcached_multi_commands.incr_hits.label Increment Hits
238 memcached_multi_commands.incr_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.incr_misses", @backends %>
239 memcached_multi_commands.incr_misses.label Increment Misses
240 memcached_multi_commands.decr_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.decr_hits", @backends %>
241 memcached_multi_commands.decr_hits.label Decrement Hits
242 memcached_multi_commands.decr_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.decr_misses", @backends %>
243 memcached_multi_commands.decr_misses.label Decrement Misses
244 memcached_multi_commands.touch_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.touch_hits", @backends %>
245 memcached_multi_commands.touch_hits.label Touch Hits
246 memcached_multi_commands.touch_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_commands.touch_misses", @backends %>
247 memcached_multi_commands.touch_misses.label Touch Misses
248 memcached_multi_conns.graph_title Connections
249 memcached_multi_conns.graph_vlabel Connections per ${graph_period}
250 memcached_multi_conns.graph_category memcached
251 memcached_multi_conns.graph_order max_conns curr_conns avg_conns
252 memcached_multi_conns.curr_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.curr_conns", @backends %>
253 memcached_multi_conns.curr_conns.label Current Connections
254 memcached_multi_conns.max_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.max_conns", @backends %>
255 memcached_multi_conns.max_conns.label Max Connections
256 memcached_multi_conns.avg_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.avg_conns", @backends %>
257 memcached_multi_conns.avg_conns.label Avg Connections
258 memcached_multi_evictions.graph_title Evictions
259 memcached_multi_evictions.graph_vlabel Evictions per ${graph_period}
260 memcached_multi_evictions.graph_category memcached
261 memcached_multi_evictions.evictions.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_evictions.evictions", @backends %>
262 memcached_multi_evictions.evictions.label Evictions
263 memcached_multi_evictions.evicted_nonzero.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_evictions.evicted_nonzero", @backends %>
264 memcached_multi_evictions.evicted_nonzero.label Evictions prior to Expire
265 memcached_multi_evictions.reclaimed.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_evictions.reclaimed", @backends %>
266 memcached_multi_evictions.reclaimed.label Reclaimed Items
267 memcached_multi_items.graph_title Items
268 memcached_multi_items.graph_vlabel Items in Memcached
269 memcached_multi_items.graph_category memcached
270 memcached_multi_items.graph_order curr_items total_items
271 memcached_multi_items.curr_items.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_items.curr_items", @backends %>
272 memcached_multi_items.curr_items.label Current Items
273 memcached_multi_items.total_items.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_items.total_items", @backends %>
274 memcached_multi_items.total_items.label New Items
275 memcached_multi_memory.graph_title Memory Usage
276 memcached_multi_memory.graph_vlabel Bytes Used
277 memcached_multi_memory.graph_category memcached
278 memcached_multi_memory.graph_order limit_maxbytes bytes
279 memcached_multi_memory.limit_maxbytes.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_memory.limit_maxbytes", @backends %>
280 memcached_multi_memory.limit_maxbytes.label Maximum Bytes Allocated
281 memcached_multi_memory.bytes.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_memory.bytes", @backends %>
282 memcached_multi_memory.bytes.label Current Bytes Used
283 memcached_multi_bytes.graph_title Network Traffic
284 memcached_multi_bytes.graph_args --base 1000
285 memcached_multi_bytes.graph_vlabel bits in (-) / out (+)
286 memcached_multi_bytes.graph_category memcached
287 memcached_multi_bytes.graph_order bytes_read bytes_written
288 memcached_multi_bytes.bytes_read.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_bytes.bytes_read", @backends %>
289 memcached_multi_bytes.bytes_read.label Network Traffic coming in (-)
290 memcached_multi_bytes.bytes_read.cdef bytes_read,8,*
291 memcached_multi_bytes.bytes_read.graph no
292 memcached_multi_bytes.bytes_written.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_bytes.bytes_written", @backends %>
293 memcached_multi_bytes.bytes_written.negative bytes_read
294 memcached_multi_bytes.bytes_written.label Traffic in (-) / out (+)
295 memcached_multi_bytes.bytes_written.cdef bytes_written,8,*
297 <% unless @tilecaches.empty? -%>
299 # Configure compound graphs for tile.openstreetmap.org
302 network_in.graph_title Inbound network traffic
303 network_in.graph_vlabel bits in per ${graph_period}
304 network_in.graph_category network
305 network_in.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:if_%%interface%%.down", @tilecaches %>
306 network_in.graph_total total
307 network_in.graph_args --lower-limit 0
308 <% @tilecaches.each do |tc| -%>
309 network_in.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
310 network_in.<%= tc[:name].tr("-", "_") %>.cdef <%= tc[:name].tr("-", "_") %>,8,*
311 network_in.<%= tc[:name].tr("-", "_") %>.draw AREASTACK
312 network_in.<%= tc[:name].tr("-", "_") %>.min 0
314 network_out.graph_title Outbound network traffic
315 network_out.graph_vlabel bits out per ${graph_period}
316 network_out.graph_category network
317 network_out.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:if_%%interface%%.up", @tilecaches %>
318 network_out.graph_total total
319 network_out.graph_args --lower-limit 0
320 <% @tilecaches.each do |tc| -%>
321 network_out.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
322 network_out.<%= tc[:name].tr("-", "_") %>.cdef <%= tc[:name].tr("-", "_") %>,8,*
323 network_out.<%= tc[:name].tr("-", "_") %>.draw AREASTACK
324 network_out.<%= tc[:name].tr("-", "_") %>.min 0
326 squid_delay_pools.graph_title IPs being delayed with referer
327 squid_delay_pools.graph_args --base 1000 -l 0
328 squid_delay_pools.graph_vlabel IPs
329 squid_delay_pools.graph_order squid_delay1
330 squid_delay_pools.graph_category squid
331 squid_delay_pools.squid_delay1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_delay_pools.squid_delay1", @tilecaches %>
332 squid_delay_pools.squid_delay1.label IPs
333 squid_delay_pools.squid_delay1.min 0
334 squid_delay_pools.squid_delay1.draw AREA
335 squid_delay_pools_noreferer.graph_title No-referer IPs being delayed
336 squid_delay_pools_noreferer.graph_args --base 1000 -l 0
337 squid_delay_pools_noreferer.graph_vlabel IPs
338 squid_delay_pools_noreferer.graph_order squid_delay2
339 squid_delay_pools_noreferer.graph_category squid
340 squid_delay_pools_noreferer.squid_delay2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_delay_pools_noreferer.squid_delay2", @tilecaches %>
341 squid_delay_pools_noreferer.squid_delay2.label IPs
342 squid_delay_pools_noreferer.squid_delay2.min 0
343 squid_delay_pools_noreferer.squid_delay2.draw AREA
344 squid_requests.graph_title Squid client requests
345 squid_requests.graph_args --base 1000 -l 0
346 squid_requests.graph_vlabel requests / ${graph_period}
347 squid_requests.graph_order <%= Chef::Munin.expand "%%%name%%%_hits=%%name%%.openstreetmap:squid_requests.hits %%%name%%%_errors=%%name%%.openstreetmap:squid_requests.errors %%%name%%%_requests=%%name%%.openstreetmap:squid_requests.requests", @tilecaches %> hits=<%= @tilecaches.first[:name] %>.openstreetmap:squid_requests.hits errors=<%= @tilecaches.first[:name] %>.openstreetmap:squid_requests.errors requests=<%= @tilecaches.first[:name] %>.openstreetmap:squid_requests.requests
348 squid_requests.graph_total total
349 squid_requests.graph_category squid
350 <% @tilecaches.each do |tc| -%>
351 squid_requests.<%= tc[:name].tr("-", "_") %>_hits.graph no
352 squid_requests.<%= tc[:name].tr("-", "_") %>_errors.graph no
353 squid_requests.<%= tc[:name].tr("-", "_") %>_requests.graph no
355 squid_requests.hits.cdef 0,<%= Chef::Munin.expand "%%%name%%%_hits", @tilecaches, ",+," %>,+
356 squid_requests.hits.label hits
357 squid_requests.hits.draw AREA
358 squid_requests.errors.cdef 0,<%= Chef::Munin.expand "%%%name%%%_errors", @tilecaches, ",+," %>,+
359 squid_requests.errors.label errors
360 squid_requests.errors.draw STACK
361 squid_requests.requests.cdef 0,<%= Chef::Munin.expand "%%%name%%%_requests", @tilecaches, ",+," %>,+,hits,-,errors,-
362 squid_requests.requests.label misses
363 squid_requests.requests.draw STACK
364 squid_traffic.graph_title Squid traffic status
365 squid_traffic.graph_args --base 1000
366 squid_traffic.graph_vlabel bits per ${graph_period}
367 squid_traffic.graph_order kbytes_in kbytes_out hit_kbytes_out
368 squid_traffic.graph_category squid
369 squid_traffic.kbytes_in.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.kbytes_in", @tilecaches %>
370 squid_traffic.kbytes_in.label received
371 squid_traffic.kbytes_in.cdef kbytes_in,8096,*
372 squid_traffic.kbytes_out.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.kbytes_out", @tilecaches %>
373 squid_traffic.kbytes_out.label sent
374 squid_traffic.kbytes_out.cdef kbytes_out,8096,*
375 squid_traffic.hit_kbytes_out.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.hit_kbytes_out", @tilecaches %>
376 squid_traffic.hit_kbytes_out.label from cache
377 squid_traffic.hit_kbytes_out.cdef hit_kbytes_out,8096,*
378 squid_times_http.graph_title Squid Http Service Times
379 squid_times_http.graph_category squid
380 squid_times_http.graph_args --lower-limit 0
381 squid_times_http.graph_vlabel median reponse times (s)
382 squid_times_http.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_http", @tilecaches %>
383 <% @tilecaches.each do |tc| -%>
384 squid_times_http.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
386 squid_times_cmis.graph_title Squid Cache Miss Service Times
387 squid_times_cmis.graph_category squid
388 squid_times_cmis.graph_args --lower-limit 0
389 squid_times_cmis.graph_vlabel median reponse times (s)
390 squid_times_cmis.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_cmis", @tilecaches %>
391 <% @tilecaches.each do |tc| -%>
392 squid_times_cmis.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
394 squid_times_chits.graph_title Squid Cache Hit Service Times
395 squid_times_chits.graph_category squid
396 squid_times_chits.graph_args --lower-limit 0
397 squid_times_chits.graph_vlabel median reponse times (s)
398 squid_times_chits.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_chits", @tilecaches %>
399 <% @tilecaches.each do |tc| -%>
400 squid_times_chits.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
402 squid_times_nhits.graph_title Squid Cache Near Hit Service Times
403 squid_times_nhits.graph_category squid
404 squid_times_nhits.graph_args --lower-limit 0
405 squid_times_nhits.graph_vlabel median reponse times (s)
406 squid_times_nhits.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_nhits", @tilecaches %>
407 <% @tilecaches.each do |tc| -%>
408 squid_times_nhits.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
410 squid_times_nmr.graph_title Squid Cache Not Modified Service Times
411 squid_times_nmr.graph_category squid
412 squid_times_nmr.graph_args --lower-limit 0
413 squid_times_nmr.graph_vlabel median reponse times (s)
414 squid_times_nmr.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_nmr", @tilecaches %>
415 <% @tilecaches.each do |tc| -%>
416 squid_times_nmr.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
418 squid_times_dnsl.graph_title Squid Cache DNS Lookup Service Times
419 squid_times_dnsl.graph_category squid
420 squid_times_dnsl.graph_args --lower-limit 0
421 squid_times_dnsl.graph_vlabel median reponse times (s)
422 squid_times_dnsl.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:squid_times.mean_dnsl", @tilecaches %>
423 <% @tilecaches.each do |tc| -%>
424 squid_times_dnsl.<%= tc[:name].tr("-", "_") %>.label <%= tc[:name] %>
426 squid_request_hitrates.graph_title Squid Cache Request Hit Rates
427 squid_request_hitrates.graph_category squid
428 squid_request_hitrates.graph_args --lower-limit 0 --upper-limit 100
429 squid_request_hitrates.graph_vlabel %
430 squid_request_hitrates.graph_order <%= Chef::Munin.expand "%%%name%%%_total=%%name%%.openstreetmap:squid_requests.requests %%%name%%%_hits=%%name%%.openstreetmap:squid_requests.hits", @tilecaches %>
431 <% @tilecaches.each do |tc| -%>
432 squid_request_hitrates.<%= tc[:name].tr("-", "_") %>_total.graph no
433 squid_request_hitrates.<%= tc[:name].tr("-", "_") %>_hits.cdef <%= tc[:name].tr("-", "_") %>_hits,<%= tc[:name].tr("-", "_") %>_total,/,100,*
434 squid_request_hitrates.<%= tc[:name].tr("-", "_") %>_hits.label <%= tc[:name] %>
435 squid_request_hitrates.<%= tc[:name].tr("-", "_") %>_hits.draw LINE1
437 squid_byte_hitrates.graph_title Squid Cache Byte Hit Rates
438 squid_byte_hitrates.graph_category squid
439 squid_byte_hitrates.graph_args --lower-limit 0 --upper-limit 100
440 squid_byte_hitrates.graph_vlabel %
441 squid_byte_hitrates.graph_order <%= Chef::Munin.expand "%%%name%%%_total=%%name%%.openstreetmap:squid_traffic.kbytes_out %%%name%%%_hits=%%name%%.openstreetmap:squid_traffic.hit_kbytes_out", @tilecaches %>
442 <% @tilecaches.each do |tc| -%>
443 squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_total.graph no
444 squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_hits.cdef <%= tc[:name].tr("-", "_") %>_hits,<%= tc[:name].tr("-", "_") %>_total,/,100,*
445 squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_hits.label <%= tc[:name] %>
446 squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_hits.draw LINE1
449 <% unless @renderers.empty? -%>
451 # Configure compound graphs for render.openstreetmap.org
452 [render.openstreetmap]
454 apache_accesses.graph_title Apache accesses
455 apache_accesses.graph_vlabel accesses / ${graph_period}
456 apache_accesses.graph_category apache
457 apache_accesses.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:apache_accesses.accesses80", @renderers %>
458 apache_accesses.graph_total total
459 apache_accesses.graph_args --lower-limit 0
460 <% @renderers.each do |rs| -%>
461 apache_accesses.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
462 apache_accesses.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
463 apache_accesses.<%= rs[:name].tr("-", "_") %>.min 0
465 apache_volume.graph_title Apache volume
466 apache_volume.graph_vlabel bytes per ${graph_period}
467 apache_volume.graph_category apache
468 apache_volume.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:apache_volume.volume80", @renderers %>
469 apache_volume.graph_total total
470 apache_volume.graph_args --lower-limit 0
471 <% @renderers.each do |rs| -%>
472 apache_volume.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
473 apache_volume.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
474 apache_volume.<%= rs[:name].tr("-", "_") %>.min 0
476 network_in.graph_title Inbound network traffic
477 network_in.graph_vlabel bits in per ${graph_period}
478 network_in.graph_category network
479 network_in.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:if_%%interface%%.down", @renderers %>
480 network_in.graph_total total
481 network_in.graph_args --lower-limit 0
482 <% @renderers.each do |rs| -%>
483 network_in.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
484 network_in.<%= rs[:name].tr("-", "_") %>.cdef <%= rs[:name].tr("-", "_") %>,8,*
485 network_in.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
486 network_in.<%= rs[:name].tr("-", "_") %>.min 0
488 network_out.graph_title Outbound network traffic
489 network_out.graph_vlabel bits out per ${graph_period}
490 network_out.graph_category network
491 network_out.graph_order <%= Chef::Munin.expand "%%%name%%%=%%name%%.openstreetmap:if_%%interface%%.up", @renderers %>
492 network_out.graph_total total
493 network_out.graph_args --lower-limit 0
494 <% @renderers.each do |rs| -%>
495 network_out.<%= rs[:name].tr("-", "_") %>.label <%= rs[:name] %>
496 network_out.<%= rs[:name].tr("-", "_") %>.cdef <%= rs[:name].tr("-", "_") %>,8,*
497 network_out.<%= rs[:name].tr("-", "_") %>.draw AREASTACK
498 network_out.<%= rs[:name].tr("-", "_") %>.min 0
500 mod_tile_fresh.graph_title freshness of served tiles
501 mod_tile_fresh.graph_args --base 1000 -l 0
502 mod_tile_fresh.graph_vlabel tiles per ${graph_period}
503 mod_tile_fresh.graph_order fresh freshrender old oldrender outdated outdatedrender
504 mod_tile_fresh.graph_category mod_tile
505 mod_tile_fresh.fresh.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.fresh", @renderers %>
506 mod_tile_fresh.fresh.label Fresh from disk
507 mod_tile_fresh.fresh.draw AREA
508 mod_tile_fresh.freshrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.freshrender", @renderers %>
509 mod_tile_fresh.freshrender.label Freshly rendered
510 mod_tile_fresh.freshrender.draw STACK
511 mod_tile_fresh.old.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.old", @renderers %>
512 mod_tile_fresh.old.label Old from disk
513 mod_tile_fresh.old.draw STACK
514 mod_tile_fresh.oldrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.oldrender", @renderers %>
515 mod_tile_fresh.oldrender.label Old tile, attempted render
516 mod_tile_fresh.oldrender.draw STACK
517 mod_tile_fresh.outdated.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.outdated", @renderers %>
518 mod_tile_fresh.outdated.label Outdated from disk
519 mod_tile_fresh.outdated.draw STACK
520 mod_tile_fresh.outdatedrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.outdatedrender", @renderers %>
521 mod_tile_fresh.outdatedrender.label Outdated tile, attempted render
522 mod_tile_fresh.outdatedrender.draw STACK
523 mod_tile_response.graph_title mod_tile HTTP response codes
524 mod_tile_response.graph_args --base 1000 -l 0
525 mod_tile_response.graph_vlabel responses per ${graph_period}
526 mod_tile_response.graph_order response200 response304 response404 response500
527 mod_tile_response.graph_category mod_tile
528 mod_tile_response.response200.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response200", @renderers %>
529 mod_tile_response.response200.label 200 OK
530 mod_tile_response.response200.draw AREA
531 mod_tile_response.response304.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response304", @renderers %>
532 mod_tile_response.response304.label 304 Not Modified
533 mod_tile_response.response304.draw STACK
534 mod_tile_response.response404.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response404", @renderers %>
535 mod_tile_response.response404.label 404 Not Found
536 mod_tile_response.response404.draw STACK
537 mod_tile_response.response500.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response500", @renderers %>
538 mod_tile_response.response500.label 500 Internal Error
539 mod_tile_response.response500.draw STACK
540 mod_tile_zoom.graph_title mod_tile responses by zoom layer
541 mod_tile_zoom.graph_args --base 1000 -l 0
542 mod_tile_zoom.graph_vlabel responses per ${graph_period}
543 mod_tile_zoom.graph_order z1 z2 z3 z4 z5 z6
544 mod_tile_zoom.graph_category mod_tile
545 mod_tile_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z1", @renderers %>
546 mod_tile_zoom.z1.label z1-8
547 mod_tile_zoom.z1.draw AREA
548 mod_tile_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z2", @renderers %>
549 mod_tile_zoom.z2.label z9-12
550 mod_tile_zoom.z2.draw STACK
551 mod_tile_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z3", @renderers %>
552 mod_tile_zoom.z3.label z13-14
553 mod_tile_zoom.z3.draw STACK
554 mod_tile_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z4", @renderers %>
555 mod_tile_zoom.z4.label z15-16
556 mod_tile_zoom.z4.draw STACK
557 mod_tile_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z5", @renderers %>
558 mod_tile_zoom.z5.label z17-18
559 mod_tile_zoom.z5.draw STACK
560 mod_tile_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z6", @renderers %>
561 mod_tile_zoom.z6.label z19-20
562 mod_tile_zoom.z6.draw STACK
563 renderd_queue.graph_title Renderd queue length
564 renderd_queue.graph_args --base 1000 -l 0
565 renderd_queue.graph_vlabel metatiles
566 renderd_queue.graph_order reqPrio req reqLow dirty reqBulk
567 renderd_queue.graph_category renderd
568 renderd_queue.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqPrio", @renderers %>
569 renderd_queue.reqPrio.label Priority request Queue
570 renderd_queue.reqPrio.type GAUGE
571 renderd_queue.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.req", @renderers %>
572 renderd_queue.req.label Request Queue
573 renderd_queue.req.type GAUGE
574 renderd_queue.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqLow", @renderers %>
575 renderd_queue.reqLow.label Low priority request Queue
576 renderd_queue.reqLow.type GAUGE
577 renderd_queue.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.dirty", @renderers %>
578 renderd_queue.dirty.label Dirty Queue
579 renderd_queue.dirty.type GAUGE
580 renderd_queue.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqBulk", @renderers %>
581 renderd_queue.reqBulk.label Bulk request Queue
582 renderd_queue.reqBulk.type GAUGE
583 renderd_processed.graph_title Renderd throughput
584 renderd_processed.graph_args --base 1000 -l 0
585 renderd_processed.graph_vlabel Metatiles per ${graph_period}
586 renderd_processed.graph_order reqPrio req reqLow dirty reqBulk dropped
587 renderd_processed.graph_category renderd
588 renderd_processed.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
589 renderd_processed.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqPrio", @renderers %>
590 renderd_processed.reqPrio.label Priority request Queue
591 renderd_processed.reqPrio.draw AREA
592 renderd_processed.reqPrio.info Throughput of Metatiles submitted high priority for on the fly rendering
593 renderd_processed.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.req", @renderers %>
594 renderd_processed.req.label Request Queue
595 renderd_processed.req.draw STACK
596 renderd_processed.req.info Throughput of Metatiles submitted for on the fly rendering
597 renderd_processed.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqLow", @renderers %>
598 renderd_processed.reqLow.label Low priority request Queue
599 renderd_processed.reqLow.draw STACK
600 renderd_processed.reqLow.info Throughput of Metatiles submitted low priority for on the fly rendering
601 renderd_processed.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.dirty", @renderers %>
602 renderd_processed.dirty.label Dirty Queue
603 renderd_processed.dirty.draw STACK
604 renderd_processed.dirty.info Throughput of dirty Metatiles submitted for re-render
605 renderd_processed.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqBulk", @renderers %>
606 renderd_processed.reqBulk.label Bulk request Queue
607 renderd_processed.reqBulk.draw STACK
608 renderd_processed.reqBulk.info Throughput of Metatiles submitted with background priority
609 renderd_processed.dropped.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.dropped", @renderers %>
610 renderd_processed.dropped.label Dropped (x20)
611 renderd_processed.dropped.draw LINE2
612 renderd_processed.dropped.info Number of Tiles dropped due to queue overload (x20)
613 renderd_processed.dropped.cdef dropped,20,/
614 renderd_zoom.graph_title Renderd throughput by zoom
615 renderd_zoom.graph_args --base 1000 -l 0
616 renderd_zoom.graph_vlabel Metatiles per ${graph_period}
617 renderd_zoom.graph_order z1 z2 z3 z4 z5 z6
618 renderd_zoom.graph_category renderd
619 renderd_zoom.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
620 renderd_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z1", @renderers %>
621 renderd_zoom.z1.label zoom z0 - z8
622 renderd_zoom.z1.draw AREA
623 renderd_zoom.z1.info Throughput of Metatiles for z0 - z8
624 renderd_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z2", @renderers %>
625 renderd_zoom.z2.label zoom z9 - z12
626 renderd_zoom.z2.draw STACK
627 renderd_zoom.z2.info Throughput of Metatiles for z9 - z12
628 renderd_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z3", @renderers %>
629 renderd_zoom.z3.label zoom z13 - z14
630 renderd_zoom.z3.draw STACK
631 renderd_zoom.z3.info Throughput of Metatiles for z13 - z14
632 renderd_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z4", @renderers %>
633 renderd_zoom.z4.label zoom z15 - z16
634 renderd_zoom.z4.draw STACK
635 renderd_zoom.z4.info Throughput of Metatiles for z15 - z16
636 renderd_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z5", @renderers %>
637 renderd_zoom.z5.label zoom z17 - z18
638 renderd_zoom.z5.draw STACK
639 renderd_zoom.z5.info Throughput of Metatiles for z17 - z18
640 renderd_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z6", @renderers %>
641 renderd_zoom.z6.label zoom z19 - z20
642 renderd_zoom.z6.draw STACK
643 renderd_zoom.z6.info Throughput of Metatiles for z19 - z20
644 renderd_queue_time.graph_title Renderd time spent by queue
645 renderd_queue_time.graph_args --base 1000 -l 0
646 renderd_queue_time.graph_vlabel metatiles
647 renderd_queue_time.graph_order reqPrio req reqLow dirty reqBulk
648 renderd_queue_time.graph_category renderd
649 renderd_queue_time.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqPrio", @renderers %>
650 renderd_queue_time.reqPrio.label Priority request queue
651 renderd_queue_time.reqPrio.cdef reqPrio,1000,/
652 renderd_queue_time.reqPrio.draw AREA
653 renderd_queue_time.reqPrio.info Time for priority request queue
654 renderd_queue_time.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.req", @renderers %>
655 renderd_queue_time.req.label Request queue
656 renderd_queue_time.req.cdef req,1000,/
657 renderd_queue_time.req.draw STACK
658 renderd_queue_time.req.info Time for Request queue
659 renderd_queue_time.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqLow", @renderers %>
660 renderd_queue_time.reqLow.label Low priority request queue
661 renderd_queue_time.reqLow.cdef reqLow,1000,/
662 renderd_queue_time.reqLow.draw STACK
663 renderd_queue_time.reqLow.info Time for low priority request queue
664 renderd_queue_time.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.dirty", @renderers %>
665 renderd_queue_time.dirty.label Dirty queue
666 renderd_queue_time.dirty.cdef dirty,1000,/
667 renderd_queue_time.dirty.draw STACK
668 renderd_queue_time.dirty.info Time for dirty queue
669 renderd_queue_time.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqBulk", @renderers %>
670 renderd_queue_time.reqBulk.label Bulk queue
671 renderd_queue_time.reqBulk.cdef reqBulk,1000,/
672 renderd_queue_time.reqBulk.draw STACK
673 renderd_queue_time.reqBulk.info Time for bulk queue
674 renderd_zoom_time.graph_title Renderd time spent by zoom
675 renderd_zoom_time.graph_args --base 1000 -l 0
676 renderd_zoom_time.graph_vlabel time spent per ${graph_period}
677 renderd_zoom_time.graph_order zoomtime1 zoomtime2 zoomtime3 zoomtime4 zoomtime5 zoomtime6
678 renderd_zoom_time.graph_category renderd
679 renderd_zoom_time.graph_info Displays the amount of time renderd has spent rendering tiles of a given zoom per ${graph_period}
680 renderd_zoom_time.zoomtime1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime1", @renderers %>
681 renderd_zoom_time.zoomtime1.label zoom z0 - z8
682 renderd_zoom_time.zoomtime1.cdef zoomtime1,1000,/
683 renderd_zoom_time.zoomtime1.draw AREA
684 renderd_zoom_time.zoomtime1.info Time for Metatiles z0 - z8
685 renderd_zoom_time.zoomtime2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime2", @renderers %>
686 renderd_zoom_time.zoomtime2.label zoom z9 - z12
687 renderd_zoom_time.zoomtime2.cdef zoomtime2,1000,/
688 renderd_zoom_time.zoomtime2.draw STACK
689 renderd_zoom_time.zoomtime2.info Time for Metatiles for z9 - z12
690 renderd_zoom_time.zoomtime3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime3", @renderers %>
691 renderd_zoom_time.zoomtime3.label zoom z13 - z14
692 renderd_zoom_time.zoomtime3.cdef zoomtime3,1000,/
693 renderd_zoom_time.zoomtime3.draw STACK
694 renderd_zoom_time.zoomtime3.info Time for Metatiles for z13 - z14
695 renderd_zoom_time.zoomtime4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime4", @renderers %>
696 renderd_zoom_time.zoomtime4.label zoom z15 - z16
697 renderd_zoom_time.zoomtime4.cdef zoomtime4,1000,/
698 renderd_zoom_time.zoomtime4.draw STACK
699 renderd_zoom_time.zoomtime4.info Time for Metatiles for z15 - z16
700 renderd_zoom_time.zoomtime5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime5", @renderers %>
701 renderd_zoom_time.zoomtime5.label zoom z17 - z18
702 renderd_zoom_time.zoomtime5.cdef zoomtime5,1000,/
703 renderd_zoom_time.zoomtime5.draw STACK
704 renderd_zoom_time.zoomtime5.info Time for Metatiles for z17 - z18
705 renderd_zoom_time.zoomtime6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime6", @renderers %>
706 renderd_zoom_time.zoomtime6.label zoom z19 - z20
707 renderd_zoom_time.zoomtime6.cdef zoomtime6,1000,/
708 renderd_zoom_time.zoomtime6.draw STACK
709 renderd_zoom_time.zoomtime6.info Time for Metatiles for z19 - z20
711 <% unless @geocoders.empty? -%>
713 # Configure compound graphs for nominatim.openstreetmap.org
714 [nominatim.openstreetmap]
716 nominatim_requests.graph_title Requests by API call
717 nominatim_requests.graph_args --base 1000 -l 0
718 nominatim_requests.graph_vlabel requests per minute
719 nominatim_requests.graph_category nominatim
720 nominatim_requests.graph_order z1 z2 z3 z4
721 nominatim_requests.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_requests.z1", @geocoders %>
722 nominatim_requests.z1.label reverse
723 nominatim_requests.z1.draw AREA
724 nominatim_requests.z1.type GAUGE
725 nominatim_requests.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_requests.z2", @geocoders %>
726 nominatim_requests.z2.label search (successful)
727 nominatim_requests.z2.draw STACK
728 nominatim_requests.z2.type GAUGE
729 nominatim_requests.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_requests.z3", @geocoders %>
730 nominatim_requests.z3.label search (no result)
731 nominatim_requests.z3.draw STACK
732 nominatim_requests.z3.type GAUGE
733 nominatim_requests.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_requests.z4", @geocoders %>
734 nominatim_requests.z4.label details
735 nominatim_requests.z4.draw STACK
736 nominatim_requests.z4.type GAUGE
737 nominatim_throttled_ips.graph_title Restricted IPs
738 nominatim_throttled_ips.graph_args -l 0
739 nominatim_throttled_ips.graph_vlabel number of IPs
740 nominatim_throttled_ips.graph_category nominatim
741 nominatim_throttled_ips.graph_order bulk block
742 nominatim_throttled_ips.bulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_throttled_ips.bulk", @geocoders %>
743 nominatim_throttled_ips.bulk.label bulk
744 nominatim_throttled_ips.bulk.draw AREA
745 nominatim_throttled_ips.bulk.type GAUGE
746 nominatim_throttled_ips.block.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:nominatim_throttled_ips.block", @geocoders %>
747 nominatim_throttled_ips.block.label blocked
748 nominatim_throttled_ips.block.draw STACK
749 nominatim_throttled_ips.block.type GAUGE