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

messages_uncommitted doesn't exist in list_queues.

messages_uncommitted is subcommand of list_channels.
This commit is contained in:
ZHOUTING 2013-01-28 18:01:47 +08:00
parent 703eee62a4
commit b86b884ee2

View File

@ -70,6 +70,6 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
HOME=$HOME rabbitmqctl list_queues -p $VHOST name messages_uncommitted | \
HOME=$HOME rabbitmqctl list_channels -p $VHOST name messages_uncommitted | \
grep -v "^Listing" | grep -v "done.$" | \
perl -nle'($q, $s) = split; $q =~ s/[.=-]/_/g; print("$q.value $s")'