X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/dc7c507259804d72756728eb28fadd84adb87ff6..de5ea0729bd1f982f7fda34729d149d9a40766b9:/cookbooks/munin/templates/default/munin.conf.erb diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index 791007f98..ec443ed74 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -89,6 +89,7 @@ unknown_limit 144 <% end -%> <% end -%> <% end -%> +<% unless @frontends.empty? && @backends.empty? -%> # Configure compound graphs for www.openstreetmap.org [www.openstreetmap] @@ -292,6 +293,8 @@ unknown_limit 144 memcached_multi_bytes.bytes_written.negative bytes_read memcached_multi_bytes.bytes_written.label Traffic in (-) / out (+) memcached_multi_bytes.bytes_written.cdef bytes_written,8,* +<% end -%> +<% unless @tilecaches.empty? -%> # Configure compound graphs for tile.openstreetmap.org [tile.openstreetmap] @@ -442,6 +445,8 @@ unknown_limit 144 squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_hits.label <%= tc[:name] %> squid_byte_hitrates.<%= tc[:name].tr("-", "_") %>_hits.draw LINE1 <% end -%> +<% end -%> +<% unless @renderers.empty? -%> # Configure compound graphs for render.openstreetmap.org [render.openstreetmap] @@ -702,6 +707,8 @@ unknown_limit 144 renderd_zoom_time.zoomtime6.cdef zoomtime6,1000,/ renderd_zoom_time.zoomtime6.draw STACK renderd_zoom_time.zoomtime6.info Time for Metatiles for z19 - z20 +<% end -%> +<% unless @geocoders.empty? -%> # Configure compound graphs for nominatim.openstreetmap.org [nominatim.openstreetmap] @@ -740,3 +747,4 @@ unknown_limit 144 nominatim_throttled_ips.block.label blocked nominatim_throttled_ips.block.draw STACK nominatim_throttled_ips.block.type GAUGE +<% end -%>