From e163b34078945bed703d0d6591c6ca02d4e9043d Mon Sep 17 00:00:00 2001 From: gilles Date: Wed, 5 Jan 2011 14:34:40 -0800 Subject: [PATCH] changed graph category --- redis_changes_since_last_save_ | 2 +- redis_databases_ | 2 +- redis_memory_ | 2 +- redis_total_commands_ | 2 +- redis_total_connections_ | 2 +- redis_users_ | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/redis_changes_since_last_save_ b/redis_changes_since_last_save_ index 3701cd3..d6f6f26 100755 --- a/redis_changes_since_last_save_ +++ b/redis_changes_since_last_save_ @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ } if config puts "graph_title Redis Changes since last save" - puts "graph_category other" + puts "graph_category redis" puts "memory.label changes" else diff --git a/redis_databases_ b/redis_databases_ index afa39ed..9ca9eb0 100755 --- a/redis_databases_ +++ b/redis_databases_ @@ -14,7 +14,7 @@ infos = Redis.new(:host => ip, :port => port).info.inject({}) { |h, (k, v)| h[k] if config puts "graph_title Redis Keys" - puts "graph_category other" + puts "graph_category redis" infos.each { |db, infos| puts "#{db}_keys.label #{db} keys"; puts "#{db}_expires.label #{db} expires" } else diff --git a/redis_memory_ b/redis_memory_ index 4dd6d4e..df3e97b 100755 --- a/redis_memory_ +++ b/redis_memory_ @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ } if config puts "graph_title Redis Memory" - puts "graph_category other" + puts "graph_category redis" puts "memory.label memory" else diff --git a/redis_total_commands_ b/redis_total_commands_ index 2483592..b31b4c8 100755 --- a/redis_total_commands_ +++ b/redis_total_commands_ @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ } if config puts "graph_title Redis Total Commands" - puts "graph_category other" + puts "graph_category redis" puts "memory.label commands" else diff --git a/redis_total_connections_ b/redis_total_connections_ index 014d13b..19d5410 100755 --- a/redis_total_connections_ +++ b/redis_total_connections_ @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ } if config puts "graph_title Redis Total Connections" - puts "graph_category other" + puts "graph_category redis" puts "memory.label connections" else diff --git a/redis_users_ b/redis_users_ index 909ccd4..792d8bd 100755 --- a/redis_users_ +++ b/redis_users_ @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ } if config puts "graph_title Redis Connections" - puts "graph_category other" + puts "graph_category redis" puts "memory.label Connections" else