Kouhei Sutou
null+****@clear*****
Wed May 22 11:38:14 JST 2013
Kouhei Sutou 2013-05-22 11:38:14 +0900 (Wed, 22 May 2013) New Revision: b77aac2acad01e8ab5e8bc924987759e9e44c700 https://github.com/groonga/groonga/commit/b77aac2acad01e8ab5e8bc924987759e9e44c700 Message: munin groonga_n_records: suppot exclude_tables option Add the following configuration to use the option: [groonga_n_records] env.exclude_tables Lexicon,InternalTable,... Modified files: data/munin/groonga_n_records Modified: data/munin/groonga_n_records (+2 -0) =================================================================== --- data/munin/groonga_n_records 2013-05-21 15:52:15 +0900 (5314cfa) +++ data/munin/groonga_n_records 2013-05-22 11:38:14 +0900 (faf64ec) @@ -16,6 +16,7 @@ label = ENV["label"] @host = ENV["host"] || "localhost" @port = ENV["port"] || 10041 @path = ENV["path"] + �� exclude_tables = (ENV["exclude_tables"] || "").split(/\s*,\s*/) command = ARGV.shift @@ -103,6 +104,7 @@ unless success end parse_list(body[0], body[1..-1]).each do |table| name = table["name"] + next if @exclude_tables.include?(name) success, body = run("select", "#{name} --limit 0") unless success puts("error: #{body}") -------------- next part -------------- HTML����������������������������... Download