]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_status
Monitor HTTP 422 responses
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_status
index 6d0e619ed5e637ce15b19119f12244260fddb4ca..0d7c9b645c2c07e008e1b23a0d60e2ed7a35cbf1 100755 (executable)
@@ -19,11 +19,12 @@ HTTP_STATUSES = {
   "410" => "Gone",
   "412" => "Precondition Failed",
   "416" => "Requested Range Not Satisfiable",
+  "422" => "Unprocessable Entity",
   "500" => "Internal Server Error",
   "502" => "Bad Gateway",
   "503" => "Service Unavailable",
   "509" => "Bandwidth Limit Exceeded"
-}
+}.freeze
 
 if ARGV[0] == "config"
   puts "graph_title HTTP response codes"