From: Tom Hughes Date: Sat, 1 Oct 2016 00:03:11 +0000 (+0100) Subject: Don't create compound nominatim graphs if the server list is empty X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/1c6fca24d9a356b60cc3138671ab93d697bff6a8 Don't create compound nominatim graphs if the server list is empty --- diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index 791007f98..d5dc7a4b8 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -702,6 +702,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 +<% unless @geocoders.empty? -%> # Configure compound graphs for nominatim.openstreetmap.org [nominatim.openstreetmap] @@ -740,3 +741,4 @@ unknown_limit 144 nominatim_throttled_ips.block.label blocked nominatim_throttled_ips.block.draw STACK nominatim_throttled_ips.block.type GAUGE +<% end -%>