1
0
mirror of https://github.com/cmur2/munin-rabbitmq.git synced 2024-11-14 08:56:18 +01:00

= is an illegal character

This commit is contained in:
Charlie Allom 2010-08-13 14:27:46 +01:00
parent 438bc8cf67
commit 4af7569c79
5 changed files with 10 additions and 10 deletions

View File

@ -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")'

View File

@ -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")'

View File

@ -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")'

View File

@ -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")'

View File

@ -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")'