From 4af7569c794f3527bb5f714106ba62b4e9cda66b Mon Sep 17 00:00:00 2001 From: Charlie Allom Date: Fri, 13 Aug 2010 14:27:46 +0100 Subject: [PATCH] = is an illegal character --- rabbitmq-consumers | 4 ++-- rabbitmq-messages | 4 ++-- rabbitmq-messages_unacknowledged | 4 ++-- rabbitmq-messages_uncommitted | 4 ++-- rabbitmq-queue_memory | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/rabbitmq-consumers b/rabbitmq-consumers index 1ac8dfe..b500007 100755 --- a/rabbitmq-consumers +++ b/rabbitmq-consumers @@ -31,7 +31,7 @@ fi VHOST=${vhost:-"/"} QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \ grep -v '^Listing' | \ - grep -v 'done\.$' | sed -e 's/[.-]/_/g' ) + grep -v 'done\.$' | sed -e 's/[.-=]/_/g' ) if [ "$1" = "config" ]; then QUEUE_WARN=${queue_warn:-100} @@ -71,4 +71,4 @@ fi rabbitmqctl list_queues -p $VHOST name consumers| \ grep -v "^Listing" | grep -v "done.$" | \ - perl -nle'($q, $s) = split; $q =~ s/[.-]/_/g; print("$q.value $s")' + perl -nle'($q, $s) = split; $q =~ s/[.-=]/_/g; print("$q.value $s")' diff --git a/rabbitmq-messages b/rabbitmq-messages index 8091d73..8c9d30d 100755 --- a/rabbitmq-messages +++ b/rabbitmq-messages @@ -31,7 +31,7 @@ fi VHOST=${vhost:-"/"} QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \ grep -v '^Listing' | \ - grep -v 'done\.$' | sed -e 's/[.-]/_/g' ) + grep -v 'done\.$' | sed -e 's/[.-=]/_/g' ) if [ "$1" = "config" ]; then QUEUE_WARN=${queue_warn:-10000} @@ -71,4 +71,4 @@ fi rabbitmqctl list_queues -p $VHOST | \ grep -v "^Listing" | grep -v "done.$" | \ - perl -nle'($q, $s) = split; $q =~ s/[.-]/_/g; print("$q.value $s")' + perl -nle'($q, $s) = split; $q =~ s/[.-=]/_/g; print("$q.value $s")' diff --git a/rabbitmq-messages_unacknowledged b/rabbitmq-messages_unacknowledged index c56edd1..d982e95 100755 --- a/rabbitmq-messages_unacknowledged +++ b/rabbitmq-messages_unacknowledged @@ -31,7 +31,7 @@ fi VHOST=${vhost:-"/"} QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \ grep -v '^Listing' | \ - grep -v 'done\.$' | sed -e 's/[.-]/_/g' ) + grep -v 'done\.$' | sed -e 's/[.-=]/_/g' ) if [ "$1" = "config" ]; then QUEUE_WARN=${queue_warn:-10000} @@ -71,4 +71,4 @@ fi rabbitmqctl list_queues -p $VHOST name messages_unacknowledged | \ grep -v "^Listing" | grep -v "done.$" | \ - perl -nle'($q, $s) = split; $q =~ s/[.-]/_/g; print("$q.value $s")' + perl -nle'($q, $s) = split; $q =~ s/[.-=]/_/g; print("$q.value $s")' diff --git a/rabbitmq-messages_uncommitted b/rabbitmq-messages_uncommitted index 8bb3aef..deb6c1c 100755 --- a/rabbitmq-messages_uncommitted +++ b/rabbitmq-messages_uncommitted @@ -31,7 +31,7 @@ fi VHOST=${vhost:-"/"} QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \ grep -v '^Listing' | \ - grep -v 'done\.$' | sed -e 's/[.-]/_/g' ) + grep -v 'done\.$' | sed -e 's/[.-=]/_/g' ) if [ "$1" = "config" ]; then QUEUE_WARN=${queue_warn:-10000} @@ -71,4 +71,4 @@ fi rabbitmqctl list_queues -p $VHOST name messages_uncommitted | \ grep -v "^Listing" | grep -v "done.$" | \ - perl -nle'($q, $s) = split; $q =~ s/[.-]/_/g; print("$q.value $s")' + perl -nle'($q, $s) = split; $q =~ s/[.-=]/_/g; print("$q.value $s")' diff --git a/rabbitmq-queue_memory b/rabbitmq-queue_memory index 1bb46dc..1c6f620 100755 --- a/rabbitmq-queue_memory +++ b/rabbitmq-queue_memory @@ -31,7 +31,7 @@ fi VHOST=${vhost:-"/"} QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \ grep -v '^Listing' | \ - grep -v 'done\.$' | sed -e 's/[.-]/_/g' ) + grep -v 'done\.$' | sed -e 's/[.-=]/_/g' ) if [ "$1" = "config" ]; then QUEUE_WARN=${queue_warn:-10000} @@ -71,4 +71,4 @@ fi rabbitmqctl list_queues -p $VHOST name memory | \ grep -v "^Listing" | grep -v "done.$" | \ - perl -nle'($q, $s) = split; $q =~ s/[.-]/_/g; print("$q.value $s")' + perl -nle'($q, $s) = split; $q =~ s/[.-=]/_/g; print("$q.value $s")'