X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2f5c06d08c5a2fcc42d57896ba7151bee326f7ac..6f0a393ef9191a70d9c5040ed35f6ee4ca33db8b:/cookbooks/munin/files/default/plugins/api_calls_num diff --git a/cookbooks/munin/files/default/plugins/api_calls_num b/cookbooks/munin/files/default/plugins/api_calls_num index 1c3a28e05..fbc64f387 100755 --- a/cookbooks/munin/files/default/plugins/api_calls_num +++ b/cookbooks/munin/files/default/plugins/api_calls_num @@ -1,9 +1,9 @@ #!/usr/bin/ruby -require 'rubygems' -require 'date' -gem 'home_run', '>= 0' -require 'apache_log_regex' +require "rubygems" +require "date" +gem "home_run", ">= 0" +require "apache_log_regex" NUM_LINES = 10000 @@ -53,7 +53,7 @@ def categorise_uri(line) end end -if ARGV[0] == 'config' +if ARGV[0] == "config" puts "graph_title Requests processed" puts "graph_vlabel Number of requests per minute" puts "graph_category api"