1 # DO NOT EDIT - This file is being maintained by Chef
3 # Set maximum number of update processes to run at once
7 rrdcached_socket /var/run/rrdcached.sock
9 # Configure alert targets
10 contact.admins.command mail -s "Munin Notification" admins@openstreetmap.org
11 contact.null.command cat > /dev/null
13 # Send alerts to the admins by default
16 # Ignore uncontactable hosts for twelve hours
18 <% @clients.sort { |a,b| a[:hostname] <=> b[:hostname] }.each do |client| -%>
20 # Configure monitoring for <%= client[:fqdn] %>
21 [<%= client[:hostname] %>.openstreetmap]
22 <% if Time.now - Time.at(client[:ohai_time]) > @expiry_time -%>
25 <% if client[:networking][:roles][:external][:zone] == "ucl" -%>
26 address <%= client.internal_ipaddress || client.external_ipaddress %>
27 <% elsif client[:networking][:roles][:external][:zone] == "ic" -%>
28 address <%= client.internal_ipaddress || client.external_ipaddress %>
29 <% elsif client.external_ipaddress -%>
30 address <%= client.external_ipaddress %>
33 <% if client[:munin][:plugins] -%>
34 <% client[:munin][:plugins].keys.sort.each do |plugin| -%>
35 <% client[:munin][:plugins][plugin].keys.sort.each do |value| -%>
36 <% if client[:munin][:plugins][plugin][value].kind_of?(Hash) -%>
37 <% if client[:munin][:plugins][plugin][value][:graph] -%>
38 <%= plugin %>.<%= value %>.graph <%= client[:munin][:plugins][plugin][value][:graph] %>
40 <% if client[:munin][:plugins][plugin][value][:warning] -%>
41 <%= plugin %>.<%= value %>.warning <%= client[:munin][:plugins][plugin][value][:warning] %>
43 <% if client[:munin][:plugins][plugin][value][:critical] -%>
44 <%= plugin %>.<%= value %>.critical <%= client[:munin][:plugins][plugin][value][:critical] %>
47 <%= plugin %>.<%= value %> <%= client[:munin][:plugins][plugin][value] %>
52 <% if client[:munin][:graphs] -%>
53 <% client[:munin][:graphs].keys.sort.each do |graph| -%>
54 <% if client[:munin][:graphs][graph][:title] -%>
55 <%= graph %>.graph_title <%= client[:munin][:graphs][graph][:title] %>
57 <% if client[:munin][:graphs][graph][:vlabel] -%>
58 <%= graph %>.graph_vlabel <%= client[:munin][:graphs][graph][:vlabel] %>
60 <% if client[:munin][:graphs][graph][:category] -%>
61 <%= graph %>.graph_category <%= client[:munin][:graphs][graph][:category] %>
63 <% client[:munin][:graphs][graph][:values].keys.sort.each do |value| -%>
64 <% if client[:munin][:graphs][graph][:values][value][:sum] -%>
65 <%= graph %>.<%= value %>.sum <%= client[:munin][:graphs][graph][:values][value][:sum].join(" ") %>
67 <% if client[:munin][:graphs][graph][:values][value][:label] -%>
68 <%= graph %>.<%= value %>.label <%= client[:munin][:graphs][graph][:values][value][:label] %>
75 # Configure compound graphs for www.openstreetmap.org
78 apache_accesses.graph_title Apache accesses
79 apache_accesses.graph_vlabel accesses / ${graph_period}
80 apache_accesses.graph_category apache
81 apache_accesses.accesses80.sum <%= Chef::Munin.expand "%%.openstreetmap:apache_accesses.accesses80", @frontends %>
82 apache_accesses.accesses80.label port 80
83 apache_volume.graph_title Apache volume
84 apache_volume.graph_vlabel bytes per ${graph_period}
85 apache_volume.graph_category apache
86 apache_volume.volume80.sum <%= Chef::Munin.expand "%%.openstreetmap:apache_volume.volume80", @frontends %>
87 apache_volume.volume80.label port 80
88 if_eth0.graph_title eth0 traffic
89 if_eth0.graph_vlabel bits in (-) / out (+) per ${graph_period}
90 if_eth0.graph_category network
91 if_eth0.down.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth0.down", @frontends %>
92 if_eth0.down.label received
93 if_eth0.down.cdef down,8,*
94 if_eth0.up.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth0.up", @frontends %>
96 if_eth0.up.cdef up,8,*
97 if_eth1.graph_title eth1 traffic
98 if_eth1.graph_vlabel bits in (-) / out (+) per ${graph_period}
99 if_eth1.graph_category network
100 if_eth1.down.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth1.down", @frontends %>
101 if_eth1.down.label received
102 if_eth1.down.cdef down,8,*
103 if_eth1.up.sum <%= Chef::Munin.expand "%%.openstreetmap:if_eth1.up", @frontends %>
104 if_eth1.up.label sent
105 if_eth1.up.cdef up,8,*
106 api_calls_www.graph_title Active requests
107 api_calls_www.graph_vlabel Number of requests
108 api_calls_www.graph_category api
109 api_calls_www.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.web", @frontends %>
110 api_calls_www.web.label Web site traffic
111 api_calls_www.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.upload", @frontends %>
112 api_calls_www.upload.label Changeset diff uploads
113 api_calls_www.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.other", @frontends %>
114 api_calls_www.other.label Other API calls
115 api_calls_www.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.amf", @frontends %>
116 api_calls_www.amf.label AMF API calls
117 api_calls_www.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.history", @frontends %>
118 api_calls_www.history.label Element history fetches
119 api_calls_www.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.full", @frontends %>
120 api_calls_www.full.label Full element fetches
121 api_calls_www.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.map", @frontends %>
122 api_calls_www.map.label Map API calls
123 api_calls_www.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_%%.trkpts", @frontends %>
124 api_calls_www.trkpts.label GPX trackpoints calls
125 api_calls_num.graph_title Requests processed
126 api_calls_num.graph_vlabel Number of requests per minute
127 api_calls_num.graph_category api
128 api_calls_num.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.web", @frontends %>
129 api_calls_num.web.label Web site traffic
130 api_calls_num.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.upload", @frontends %>
131 api_calls_num.upload.label Changeset diff uploads
132 api_calls_num.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.other", @frontends %>
133 api_calls_num.other.label Other API calls
134 api_calls_num.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.amf", @frontends %>
135 api_calls_num.amf.label AMF API calls
136 api_calls_num.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.history", @frontends %>
137 api_calls_num.history.label Element history fetches
138 api_calls_num.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.full", @frontends %>
139 api_calls_num.full.label Full element fetches
140 api_calls_num.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.map", @frontends %>
141 api_calls_num.map.label Map API calls
142 api_calls_num.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_num.trkpts", @frontends %>
143 api_calls_num.trkpts.label GPX trackpoints calls
144 api_waits_www.graph_title Wait times for active requests
145 api_waits_www.graph_vlabel Average time of requests
146 api_waits_www.graph_category api
147 api_waits_www.web.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.web", @frontends %>
148 api_waits_www.web.label Web site traffic
149 api_waits_www.web.cdef web,2,/
150 api_waits_www.upload.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.upload", @frontends %>
151 api_waits_www.upload.label Changeset diff uploads
152 api_waits_www.upload.cdef upload,2,/
153 api_waits_www.other.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.other", @frontends %>
154 api_waits_www.other.label Other API calls
155 api_waits_www.other.cdef other,2,/
156 api_waits_www.amf.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.amf", @frontends %>
157 api_waits_www.amf.label AMF API calls
158 api_waits_www.amf.cdef amf,2,/
159 api_waits_www.history.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.history", @frontends %>
160 api_waits_www.history.label Element history fetches
161 api_waits_www.history.cdef history,2,/
162 api_waits_www.full.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.full", @frontends %>
163 api_waits_www.full.label Full element fetches
164 api_waits_www.full.cdef full,2,/
165 api_waits_www.map.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.map", @frontends %>
166 api_waits_www.map.label Map API calls
167 api_waits_www.map.cdef map,2,/
168 api_waits_www.trkpts.sum <%= Chef::Munin.expand "%%.openstreetmap:api_waits_%%.trkpts", @frontends %>
169 api_waits_www.trkpts.label GPX trackpoints calls
170 api_waits_www.trkpts.cdef trkpts,2,/
171 memcached_multi_bytes.graph_title Network Traffic
172 memcached_multi_bytes.graph_vlabel bits in (-) / out (+)
173 memcached_multi_bytes.graph_category memcached
174 memcached_multi_bytes.bytes_read.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_bytes.bytes_read", @backends %>
175 memcached_multi_bytes.bytes_read.label Network Traffic coming in (-)
176 memcached_multi_bytes.bytes_read.cdef bytes_read,8,*
177 memcached_multi_bytes.bytes_written.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_bytes.bytes_written", @backends %>
178 memcached_multi_bytes.bytes_written.label Traffic in (-) / out (+)
179 memcached_multi_bytes.bytes_written.cdef bytes_written,8,*
180 memcached_commands.graph_title Commands
181 memcached_commands.graph_vlabel Commands per ${graph_period}
182 memcached_commands.graph_category memcached
183 memcached_commands.cmd_get.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.cmd_get", @backends %>
184 memcached_commands.cmd_get.label Gets
185 memcached_commands.cmd_set.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.cmd_set", @backends %>
186 memcached_commands.cmd_set.label Sets
187 memcached_commands.get_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.get_hits", @backends %>
188 memcached_commands.get_hits.label Get Hits
189 memcached_commands.get_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.get_misses", @backends %>
190 memcached_commands.get_misses.label Get Misses
191 memcached_commands.delete_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.delete_hits", @backends %>
192 memcached_commands.delete_hits.label Delete Hits
193 memcached_commands.delete_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.delete_misses", @backends %>
194 memcached_commands.delete_misses.label Delete Misses
195 memcached_commands.incr_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.incr_hits", @backends %>
196 memcached_commands.incr_hits.label Increment Hits
197 memcached_commands.incr_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.incr_misses", @backends %>
198 memcached_commands.incr_misses.label Increment Misses
199 memcached_commands.decr_hits.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.decr_hits", @backends %>
200 memcached_commands.decr_hits.label Decrement Hits
201 memcached_commands.decr_misses.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_commands.decr_misses", @backends %>
202 memcached_commands.decr_misses.label Decrement Misses
203 memcached_multi_conns.graph_title Connections
204 memcached_multi_conns.graph_vlabel Connections per ${graph_period}
205 memcached_multi_conns.graph_category memcached
206 memcached_multi_conns.curr_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.curr_conns", @backends %>
207 memcached_multi_conns.curr_conns.label Current Connections
208 memcached_multi_conns.max_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.max_conns", @backends %>
209 memcached_multi_conns.max_conns.label Max Connections
210 memcached_multi_conns.avg_conns.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_multi_conns.avg_conns", @backends %>
211 memcached_multi_conns.avg_conns.label Avg Connections
212 memcached_evictions.graph_title Evictions
213 memcached_evictions.graph_vlabel Evictions per ${graph_period}
214 memcached_evictions.graph_category memcached
215 memcached_evictions.evictions.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_evictions.evictions", @backends %>
216 memcached_evictions.evictions.label Evictions
217 memcached_evictions.evicted_nonzero.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_evictions.evicted_nonzero", @backends %>
218 memcached_evictions.evicted_nonzero.label Evictions prior to Expire
219 memcached_evictions.reclaimed.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_evictions.reclaimed", @backends %>
220 memcached_evictions.reclaimed.label Reclaimed Items
221 memcached_items.graph_title Items
222 memcached_items.graph_vlabel Items in Memcached
223 memcached_items.graph_category memcached
224 memcached_items.curr_items.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_items.curr_items", @backends %>
225 memcached_items.curr_items.label Current Items
226 memcached_items.total_items.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_items.total_items", @backends %>
227 memcached_items.total_items.label New Items
228 memcached_memory.graph_title Memory Usage
229 memcached_memory.graph_vlabel Bytes Used
230 memcached_memory.graph_category memcached
231 memcached_memory.limit_maxbytes.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_memory.limit_maxbytes", @backends %>
232 memcached_memory.limit_maxbytes.label Maximum Bytes Allocated
233 memcached_memory.bytes.sum <%= Chef::Munin.expand "%%.openstreetmap:memcached_memory.bytes", @backends %>
234 memcached_memory.bytes.label Current Bytes Used
236 # Configure compound graphs for tile.openstreetmap.org
239 network_in.graph_title Inbound network traffic
240 network_in.graph_vlabel bits in per ${graph_period}
241 network_in.graph_category network
242 network_in.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:if_%%interface%%.down", @tilecaches %>
243 network_in.graph_total total
244 <% @tilecaches.each do |tc| -%>
245 network_in.<%= tc[:name] %>.label <%= tc[:name] %>
246 network_in.<%= tc[:name] %>.cdef <%= tc[:name] %>,8,*
247 network_in.<%= tc[:name] %>.draw AREASTACK
249 network_out.graph_title Outbound network traffic
250 network_out.graph_vlabel bits out per ${graph_period}
251 network_out.graph_category network
252 network_out.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:if_%%interface%%.up", @tilecaches %>
253 network_out.graph_total total
254 <% @tilecaches.each do |tc| -%>
255 network_out.<%= tc[:name] %>.label <%= tc[:name] %>
256 network_out.<%= tc[:name] %>.cdef <%= tc[:name] %>,8,*
257 network_out.<%= tc[:name] %>.draw AREASTACK
259 squid_delay_pools.graph_title IPs being delayed
260 squid_delay_pools.graph_args --base 1000 -l 0
261 squid_delay_pools.graph_vlabel IPs
262 squid_delay_pools.graph_order squid_delay1
263 squid_delay_pools.graph_category squid
264 squid_delay_pools.squid_delay1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_delay_pools.squid_delay1", @tilecaches %>
265 squid_delay_pools.squid_delay1.label IPs
266 squid_delay_pools.squid_delay1.min 0
267 squid_delay_pools.squid_delay1.draw AREA
268 squid_requests.graph_title Squid client requests
269 squid_requests.graph_args --base 1000 -l 0
270 squid_requests.graph_vlabel requests / ${graph_period}
271 squid_requests.graph_order hits errors requests
272 squid_requests.graph_total total
273 squid_requests.graph_category squid
274 squid_requests.hits.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_requests.hits", @tilecaches %>
275 squid_requests.hits.label hits
276 squid_requests.hits.draw AREA
277 squid_requests.errors.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_requests.errors", @tilecaches %>
278 squid_requests.errors.label errors
279 squid_requests.errors.draw STACK
280 squid_requests.requests.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_requests.requests", @tilecaches %>
281 squid_requests.requests.label misses
282 squid_requests.requests.draw STACK
283 squid_traffic.graph_title Squid traffic status
284 squid_traffic.graph_args --base 1000
285 squid_traffic.graph_vlabel bits per ${graph_period}
286 squid_traffic.graph_order kbytes_in kbytes_out hit_kbytes_out
287 squid_traffic.graph_category squid
288 squid_traffic.kbytes_in.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.kbytes_in", @tilecaches %>
289 squid_traffic.kbytes_in.label received
290 squid_traffic.kbytes_in.cdef kbytes_in,8096,*
291 squid_traffic.kbytes_out.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.kbytes_out", @tilecaches %>
292 squid_traffic.kbytes_out.label sent
293 squid_traffic.kbytes_out.cdef kbytes_out,8096,*
294 squid_traffic.hit_kbytes_out.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:squid_traffic.hit_kbytes_out", @tilecaches %>
295 squid_traffic.hit_kbytes_out.label from cache
296 squid_traffic.hit_kbytes_out.cdef hit_kbytes_out,8096,*
297 squid_times_http.graph_title Squid Http Service Times
298 squid_times_http.graph_category squid
299 squid_times_http.graph_args --lower-limit 0
300 squid_times_http.graph_vlabel median reponse times (s)
301 squid_times_http.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_http", @tilecaches %>
302 <% @tilecaches.each do |tc| -%>
303 squid_times_http.<%= tc[:name] %>.label <%= tc[:name] %>
305 squid_times_cmis.graph_title Squid Cache Miss Service Times
306 squid_times_cmis.graph_category squid
307 squid_times_cmis.graph_args --lower-limit 0
308 squid_times_cmis.graph_vlabel median reponse times (s)
309 squid_times_cmis.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_cmis", @tilecaches %>
310 <% @tilecaches.each do |tc| -%>
311 squid_times_cmis.<%= tc[:name] %>.label <%= tc[:name] %>
313 squid_times_chits.graph_title Squid Cache Hit Service Times
314 squid_times_chits.graph_category squid
315 squid_times_chits.graph_args --lower-limit 0
316 squid_times_chits.graph_vlabel median reponse times (s)
317 squid_times_chits.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_chits", @tilecaches %>
318 <% @tilecaches.each do |tc| -%>
319 squid_times_chits.<%= tc[:name] %>.label <%= tc[:name] %>
321 squid_times_nhits.graph_title Squid Cache Near Hit Service Times
322 squid_times_nhits.graph_category squid
323 squid_times_nhits.graph_args --lower-limit 0
324 squid_times_nhits.graph_vlabel median reponse times (s)
325 squid_times_nhits.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_nhits", @tilecaches %>
326 <% @tilecaches.each do |tc| -%>
327 squid_times_nhits.<%= tc[:name] %>.label <%= tc[:name] %>
329 squid_times_nmr.graph_title Squid Cache Not Modified Service Times
330 squid_times_nmr.graph_category squid
331 squid_times_nmr.graph_args --lower-limit 0
332 squid_times_nmr.graph_vlabel median reponse times (s)
333 squid_times_nmr.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_nmr", @tilecaches %>
334 <% @tilecaches.each do |tc| -%>
335 squid_times_nmr.<%= tc[:name] %>.label <%= tc[:name] %>
337 squid_times_dnsl.graph_title Squid Cache DNS Lookup Service Times
338 squid_times_dnsl.graph_category squid
339 squid_times_dnsl.graph_args --lower-limit 0
340 squid_times_dnsl.graph_vlabel median reponse times (s)
341 squid_times_dnsl.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:squid_times.mean_dnsl", @tilecaches %>
342 <% @tilecaches.each do |tc| -%>
343 squid_times_dnsl.<%= tc[:name] %>.label <%= tc[:name] %>
346 # Configure compound graphs for render.openstreetmap.org
347 [render.openstreetmap]
349 apache_accesses.graph_title Apache accesses
350 apache_accesses.graph_vlabel accesses / ${graph_period}
351 apache_accesses.graph_category apache
352 apache_accesses.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:apache_accesses.accesses80", @renderers %>
353 apache_accesses.graph_total total
354 <% @renderers.each do |rs| -%>
355 apache_accesses.<%= rs[:name] %>.label <%= rs[:name] %>
356 apache_accesses.<%= rs[:name] %>.draw AREASTACK
358 apache_volume.graph_title Apache volume
359 apache_volume.graph_vlabel bytes per ${graph_period}
360 apache_volume.graph_category apache
361 apache_volume.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:apache_volume.volume80", @renderers %>
362 apache_volume.graph_total total
363 <% @renderers.each do |rs| -%>
364 apache_volume.<%= rs[:name] %>.label <%= rs[:name] %>
365 apache_volume.<%= rs[:name] %>.draw AREASTACK
367 network_in.graph_title Inbound network traffic
368 network_in.graph_vlabel bits in per ${graph_period}
369 network_in.graph_category network
370 network_in.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:if_%%interface%%.down", @renderers %>
371 network_in.graph_total total
372 <% @renderers.each do |rs| -%>
373 network_in.<%= rs[:name] %>.label <%= rs[:name] %>
374 network_in.<%= rs[:name] %>.cdef <%= rs[:name] %>,8,*
375 network_in.<%= rs[:name] %>.draw AREASTACK
377 network_out.graph_title Outbound network traffic
378 network_out.graph_vlabel bits out per ${graph_period}
379 network_out.graph_category network
380 network_out.graph_order <%= Chef::Munin.expand "%%name%%=%%name%%.openstreetmap:if_%%interface%%.up", @renderers %>
381 network_out.graph_total total
382 <% @renderers.each do |rs| -%>
383 network_out.<%= rs[:name] %>.label <%= rs[:name] %>
384 network_out.<%= rs[:name] %>.cdef <%= rs[:name] %>,8,*
385 network_out.<%= rs[:name] %>.draw AREASTACK
387 mod_tile_fresh.graph_title freshness of served tiles
388 mod_tile_fresh.graph_args --base 1000 -l 0
389 mod_tile_fresh.graph_vlabel tiles per ${graph_period}
390 mod_tile_fresh.graph_order fresh freshrender old oldrender outdated outdatedrender
391 mod_tile_fresh.graph_category mod_tile
392 mod_tile_fresh.fresh.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.fresh", @renderers %>
393 mod_tile_fresh.fresh.label Fresh from disk
394 mod_tile_fresh.fresh.draw AREA
395 mod_tile_fresh.freshrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.freshrender", @renderers %>
396 mod_tile_fresh.freshrender.label Freshly rendered
397 mod_tile_fresh.freshrender.draw STACK
398 mod_tile_fresh.old.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.old", @renderers %>
399 mod_tile_fresh.old.label Old from disk
400 mod_tile_fresh.old.draw STACK
401 mod_tile_fresh.oldrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.oldrender", @renderers %>
402 mod_tile_fresh.oldrender.label Old tile, attempted render
403 mod_tile_fresh.oldrender.draw STACK
404 mod_tile_fresh.outdated.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.outdated", @renderers %>
405 mod_tile_fresh.outdated.label Outdated from disk
406 mod_tile_fresh.outdated.draw STACK
407 mod_tile_fresh.outdatedrender.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_fresh.outdatedrender", @renderers %>
408 mod_tile_fresh.outdatedrender.label Outdated tile, attempted render
409 mod_tile_fresh.outdatedrender.draw STACK
410 mod_tile_response.graph_title mod_tile HTTP response codes
411 mod_tile_response.graph_args --base 1000 -l 0
412 mod_tile_response.graph_vlabel responses per ${graph_period}
413 mod_tile_response.graph_order response200 response304 response404 response500
414 mod_tile_response.graph_category mod_tile
415 mod_tile_response.response200.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response200", @renderers %>
416 mod_tile_response.response200.label 200 OK
417 mod_tile_response.response200.draw AREA
418 mod_tile_response.response304.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response304", @renderers %>
419 mod_tile_response.response304.label 304 Not Modified
420 mod_tile_response.response304.draw STACK
421 mod_tile_response.response404.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response404", @renderers %>
422 mod_tile_response.response404.label 404 Not Found
423 mod_tile_response.response404.draw STACK
424 mod_tile_response.response500.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_response.response500", @renderers %>
425 mod_tile_response.response500.label 500 Internal Error
426 mod_tile_response.response500.draw STACK
427 mod_tile_zoom.graph_title mod_tile responses by zoom layer
428 mod_tile_zoom.graph_args --base 1000 -l 0
429 mod_tile_zoom.graph_vlabel responses per ${graph_period}
430 mod_tile_zoom.graph_order z1 z2 z3 z4 z5 z6
431 mod_tile_zoom.graph_category mod_tile
432 mod_tile_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z1", @renderers %>
433 mod_tile_zoom.z1.label z1-8
434 mod_tile_zoom.z1.draw AREA
435 mod_tile_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z2", @renderers %>
436 mod_tile_zoom.z2.label z9-12
437 mod_tile_zoom.z2.draw STACK
438 mod_tile_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z3", @renderers %>
439 mod_tile_zoom.z3.label z13-14
440 mod_tile_zoom.z3.draw STACK
441 mod_tile_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z4", @renderers %>
442 mod_tile_zoom.z4.label z15-16
443 mod_tile_zoom.z4.draw STACK
444 mod_tile_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z5", @renderers %>
445 mod_tile_zoom.z5.label z17-18
446 mod_tile_zoom.z5.draw STACK
447 mod_tile_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:mod_tile_zoom.z6", @renderers %>
448 mod_tile_zoom.z6.label z19-20
449 mod_tile_zoom.z6.draw STACK
450 renderd_queue.graph_title Renderd queue length
451 renderd_queue.graph_args --base 1000 -l 0
452 renderd_queue.graph_vlabel metatiles
453 renderd_queue.graph_order reqPrio req reqLow dirty reqBulk
454 renderd_queue.graph_category renderd
455 renderd_queue.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqPrio", @renderers %>
456 renderd_queue.reqPrio.label Priority request Queue
457 renderd_queue.reqPrio.type GAUGE
458 renderd_queue.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.req", @renderers %>
459 renderd_queue.req.label Request Queue
460 renderd_queue.req.type GAUGE
461 renderd_queue.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqLow", @renderers %>
462 renderd_queue.reqLow.label Low priority request Queue
463 renderd_queue.reqLow.type GAUGE
464 renderd_queue.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.dirty", @renderers %>
465 renderd_queue.dirty.label Dirty Queue
466 renderd_queue.dirty.type GAUGE
467 renderd_queue.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue.reqBulk", @renderers %>
468 renderd_queue.reqBulk.label Bulk request Queue
469 renderd_queue.reqBulk.type GAUGE
470 renderd_processed.graph_title Renderd throughput
471 renderd_processed.graph_args --base 1000 -l 0
472 renderd_processed.graph_vlabel Metatiles per ${graph_period}
473 renderd_processed.graph_order req reqLow reqPrio dirty reqBulk dropped
474 renderd_processed.graph_category renderd
475 renderd_processed.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
476 renderd_processed.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.req", @renderers %>
477 renderd_processed.req.label Request Queue
478 renderd_processed.req.draw AREA
479 renderd_processed.req.info Throughput of Metatiles submitted for on the fly rendering
480 renderd_processed.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqLow", @renderers %>
481 renderd_processed.reqLow.label Low priority request Queue
482 renderd_processed.reqLow.draw STACK
483 renderd_processed.reqLow.info Throughput of Metatiles submitted low priority for on the fly rendering
484 renderd_processed.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqPrio", @renderers %>
485 renderd_processed.reqPrio.label Priority request Queue
486 renderd_processed.reqPrio.draw STACK
487 renderd_processed.reqPrio.info Throughput of Metatiles submitted high priority for on the fly rendering
488 renderd_processed.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.dirty", @renderers %>
489 renderd_processed.dirty.label Dirty Queue
490 renderd_processed.dirty.draw STACK
491 renderd_processed.dirty.info Throughput of dirty Metatiles submitted for re-render
492 renderd_processed.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.reqBulk", @renderers %>
493 renderd_processed.reqBulk.label Bulk request Queue
494 renderd_processed.reqBulk.draw STACK
495 renderd_processed.reqBulk.info Throughput of Metatiles submitted with background priority
496 renderd_processed.dropped.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_processed.dropped", @renderers %>
497 renderd_processed.dropped.label Dropped (x20)
498 renderd_processed.dropped.draw LINE2
499 renderd_processed.dropped.info Number of Tiles dropped due to queue overload (x20)
500 renderd_processed.dropped.cdef dropped,20,/
501 renderd_zoom.graph_title Renderd throughput by zoom
502 renderd_zoom.graph_args --base 1000 -l 0
503 renderd_zoom.graph_vlabel Metatiles per ${graph_period}
504 renderd_zoom.graph_order z1 z2 z3 z4 z5 z6
505 renderd_zoom.graph_category renderd
506 renderd_zoom.graph_info Displays the number of metatiles being rendered by renderd per ${graph_period}
507 renderd_zoom.z1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z1", @renderers %>
508 renderd_zoom.z1.label zoom z0 - z8
509 renderd_zoom.z1.draw AREA
510 renderd_zoom.z1.info Throughput of Metatiles for z0 - z8
511 renderd_zoom.z2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z2", @renderers %>
512 renderd_zoom.z2.label zoom z9 - z12
513 renderd_zoom.z2.draw STACK
514 renderd_zoom.z2.info Throughput of Metatiles for z9 - z12
515 renderd_zoom.z3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z3", @renderers %>
516 renderd_zoom.z3.label zoom z13 - z14
517 renderd_zoom.z3.draw STACK
518 renderd_zoom.z3.info Throughput of Metatiles for z13 - z14
519 renderd_zoom.z4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z4", @renderers %>
520 renderd_zoom.z4.label zoom z15 - z16
521 renderd_zoom.z4.draw STACK
522 renderd_zoom.z4.info Throughput of Metatiles for z15 - z16
523 renderd_zoom.z5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z5", @renderers %>
524 renderd_zoom.z5.label zoom z17 - z18
525 renderd_zoom.z5.draw STACK
526 renderd_zoom.z5.info Throughput of Metatiles for z17 - z18
527 renderd_zoom.z6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom.z6", @renderers %>
528 renderd_zoom.z6.label zoom z19 - z20
529 renderd_zoom.z6.draw STACK
530 renderd_zoom.z6.info Throughput of Metatiles for z19 - z20
531 renderd_queue_time.graph_title Renderd time spent by queue
532 renderd_queue_time.graph_args --base 1000 -l 0
533 renderd_queue_time.graph_vlabel metatiles
534 renderd_queue_time.graph_order reqPrio req reqLow dirty reqBulk
535 renderd_queue_time.graph_category renderd
536 renderd_queue_time.reqPrio.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqPrio", @renderers %>
537 renderd_queue_time.reqPrio.label Priority request queue
538 renderd_queue_time.reqPrio.cdef reqPrio,1000,/
539 renderd_queue_time.reqPrio.draw AREA
540 renderd_queue_time.reqPrio.info Time for priority request queue
541 renderd_queue_time.req.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.req", @renderers %>
542 renderd_queue_time.req.label Request queue
543 renderd_queue_time.req.cdef req,1000,/
544 renderd_queue_time.req.draw STACK
545 renderd_queue_time.req.info Time for Request queue
546 renderd_queue_time.reqLow.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqLow", @renderers %>
547 renderd_queue_time.reqLow.label Low priority request queue
548 renderd_queue_time.reqLow.cdef reqLow,1000,/
549 renderd_queue_time.reqLow.draw STACK
550 renderd_queue_time.reqLow.info Time for low priority request queue
551 renderd_queue_time.dirty.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.dirty", @renderers %>
552 renderd_queue_time.dirty.label Dirty queue
553 renderd_queue_time.dirty.cdef dirty,1000,/
554 renderd_queue_time.dirty.draw STACK
555 renderd_queue_time.dirty.info Time for dirty queue
556 renderd_queue_time.reqBulk.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_queue_time.reqBulk", @renderers %>
557 renderd_queue_time.reqBulk.label Bulk queue
558 renderd_queue_time.reqBulk.cdef reqBulk,1000,/
559 renderd_queue_time.reqBulk.draw STACK
560 renderd_queue_time.reqBulk.info Time for bulk queue
561 renderd_zoom_time.graph_title Renderd time spent by zoom
562 renderd_zoom_time.graph_args --base 1000 -l 0
563 renderd_zoom_time.graph_vlabel time spent per ${graph_period}
564 renderd_zoom_time.graph_order zoomtime1 zoomtime2 zoomtime3 zoomtime4 zoomtime5 zoomtime6
565 renderd_zoom_time.graph_category renderd
566 renderd_zoom_time.graph_info Displays the amount of time renderd has spent rendering tiles of a given zoom per ${graph_period}
567 renderd_zoom_time.zoomtime1.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime1", @renderers %>
568 renderd_zoom_time.zoomtime1.label zoom z0 - z8
569 renderd_zoom_time.zoomtime1.cdef zoomtime1,1000,/
570 renderd_zoom_time.zoomtime1.draw AREA
571 renderd_zoom_time.zoomtime1.info Time for Metatiles z0 - z8
572 renderd_zoom_time.zoomtime2.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime2", @renderers %>
573 renderd_zoom_time.zoomtime2.label zoom z9 - z12
574 renderd_zoom_time.zoomtime2.cdef zoomtime2,1000,/
575 renderd_zoom_time.zoomtime2.draw STACK
576 renderd_zoom_time.zoomtime2.info Time for Metatiles for z9 - z12
577 renderd_zoom_time.zoomtime3.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime3", @renderers %>
578 renderd_zoom_time.zoomtime3.label zoom z13 - z14
579 renderd_zoom_time.zoomtime3.cdef zoomtime3,1000,/
580 renderd_zoom_time.zoomtime3.draw STACK
581 renderd_zoom_time.zoomtime3.info Time for Metatiles for z13 - z14
582 renderd_zoom_time.zoomtime4.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime4", @renderers %>
583 renderd_zoom_time.zoomtime4.label zoom z15 - z16
584 renderd_zoom_time.zoomtime4.cdef zoomtime4,1000,/
585 renderd_zoom_time.zoomtime4.draw STACK
586 renderd_zoom_time.zoomtime4.info Time for Metatiles for z15 - z16
587 renderd_zoom_time.zoomtime5.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime5", @renderers %>
588 renderd_zoom_time.zoomtime5.label zoom z17 - z18
589 renderd_zoom_time.zoomtime5.cdef zoomtime5,1000,/
590 renderd_zoom_time.zoomtime5.draw STACK
591 renderd_zoom_time.zoomtime5.info Time for Metatiles for z17 - z18
592 renderd_zoom_time.zoomtime6.sum <%= Chef::Munin.expand "%%name%%.openstreetmap:renderd_zoom_time.zoomtime6", @renderers %>
593 renderd_zoom_time.zoomtime6.label zoom z19 - z20
594 renderd_zoom_time.zoomtime6.cdef zoomtime6,1000,/
595 renderd_zoom_time.zoomtime6.draw STACK
596 renderd_zoom_time.zoomtime6.info Time for Metatiles for z19 - z20