]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_status
Relax warning threshold for minutely planet diffs
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_status
index 8167f21d6ff05e0a1a783b605c47bfb79a5955dd..6d0e619ed5e637ce15b19119f12244260fddb4ca 100755 (executable)
@@ -34,6 +34,7 @@ if ARGV[0] == "config"
   HTTP_STATUSES.each do |code, label|
     puts "http#{code}.label #{code} #{label}"
     puts "http#{code}.type DERIVE"
   HTTP_STATUSES.each do |code, label|
     puts "http#{code}.label #{code} #{label}"
     puts "http#{code}.type DERIVE"
+    puts "http#{code}.min 0"
   end
 else
   statistics = JSON.parse(File.read("/srv/www.openstreetmap.org/rails/tmp/statistics.json"))
   end
 else
   statistics = JSON.parse(File.read("/srv/www.openstreetmap.org/rails/tmp/statistics.json"))