From 8b6bdc931bbfb0108489c6ff7678cd782a1fa84c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 10 Apr 2015 19:29:55 +0100 Subject: [PATCH] Add HTTP 401 to aggregate error graph --- cookbooks/munin/templates/default/munin.conf.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index 1f03c4e48..bac0c0581 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -141,7 +141,9 @@ unknown_limit 144 api_calls_error.graph_title HTTP errors api_calls_error.graph_vlabel Number of errors per ${graph_period} api_calls_error.graph_category api - api_calls_error.graph_order http500 http502 http503 http509 + api_calls_error.graph_order http401 http500 http502 http503 http509 + api_calls_error.http401.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http401", @frontends %> + api_calls_error.http401.label 401 Unauthorized api_calls_error.http500.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http500", @frontends %> api_calls_error.http500.label 500 Internal Server Error api_calls_error.http502.sum <%= Chef::Munin.expand "%%.openstreetmap:api_calls_status.http502", @frontends %> -- 2.43.2