1
0
mirror of https://github.com/cmur2/munin-rabbitmq.git synced 2024-12-22 12:54:27 +01:00

Fix uncommitted messages, newer RabbitMQ 3.1 does not support -p

Signed-off-by: Rohit Yadav <rohit.yadav@wingify.com>
This commit is contained in:
Rohit Yadav 2013-05-23 14:34:39 +05:30
parent 655e8d15f8
commit ce6ac82bf1

View File

@ -70,4 +70,4 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
HOME=$HOME rabbitmqctl list_channels -p $VHOST name messages_uncommitted | grep -v "^Listing" | grep -v "done.$" | sed "s/[\t]/.value /g"
HOME=$HOME rabbitmqctl list_channels name vhost messages_uncommitted | grep -v "\.\.\." | grep $VHOST | sed "s/[ ]->.*[\t]/.value /g"