X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/f2ec09ff387d19fced2dba397308bce42c2b7cb1..8501596c8696a646bbd60ff2ff19a2b864b7e3e8:/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 d5dc7a4b8..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,7 @@ 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