Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix no graph issue for queues with a dot in a name #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rabbitmq_consumers
Original file line number Diff line number Diff line change
Expand Up @@ -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_queues -p $VHOST name consumers| grep -v "^Listing" | grep -v "done.$" | grep -v "\.\.\." | sed "s/[\t]/.value /g"
HOME=$HOME rabbitmqctl list_queues -p $VHOST name consumers| grep -v "^Listing" | grep -v "done.$" | grep -v "\.\.\." | sed -e 's/[.=-]/_/g' | sed "s/[\t]/.value /g"
2 changes: 1 addition & 1 deletion rabbitmq_messages
Original file line number Diff line number Diff line change
Expand Up @@ -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_queues -p $VHOST | grep -v "^Listing" | grep -v "done.$" | grep -v "\.\.\." | sed "s/[\t]/.value /g"
HOME=$HOME rabbitmqctl list_queues -p $VHOST | grep -v "^Listing" | grep -v "done.$" | grep -v "\.\.\." | sed -e 's/[.=-]/_/g' | sed "s/[\t]/.value /g"
2 changes: 1 addition & 1 deletion rabbitmq_messages_unacknowledged
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ fi
# "value" subfield for every data field.


HOME=$HOME rabbitmqctl list_queues -p $VHOST name messages_unacknowledged | grep -v "^Listing" | grep -v "done.$" | sed "s/[\t]/.value /g"
HOME=$HOME rabbitmqctl list_queues -p $VHOST name messages_unacknowledged | grep -v "^Listing" | grep -v "done.$" | sed -e 's/[.=-]/_/g' | sed "s/[\t]/.value /g"
2 changes: 1 addition & 1 deletion rabbitmq_messages_uncommitted
Original file line number Diff line number Diff line change
Expand Up @@ -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 name vhost messages_uncommitted | grep -v "\.\.\." | grep $VHOST | sed "s/[ ]->.*[\t]/.value /g"
HOME=$HOME rabbitmqctl list_channels name vhost messages_uncommitted | grep -v "\.\.\." | grep $VHOST | sed -e 's/[.=-]/_/g' | sed "s/[ ]->.*[\t]/.value /g"
2 changes: 1 addition & 1 deletion rabbitmq_queue_memory
Original file line number Diff line number Diff line change
Expand Up @@ -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_queues -p $VHOST name memory | grep -v "^Listing" | grep -v "done.$" | sed "s/[\t]/.value /g"
HOME=$HOME rabbitmqctl list_queues -p $VHOST name memory | grep -v "^Listing" | grep -v "done.$" | sed -e 's/[.=-]/_/g' | sed "s/[\t]/.value /g"