mirror of
https://github.com/cmur2/munin-rabbitmq.git
synced 2024-11-14 08:56:18 +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:
parent
655e8d15f8
commit
ce6ac82bf1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user