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