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

Manage to hardcode vhost. Sorry folks.

This commit is contained in:
Ask Solem 2009-08-12 16:46:33 +02:00
parent 4f6cd27b37
commit 2559b8f41f
5 changed files with 5 additions and 5 deletions

View File

@ -69,6 +69,6 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
sudo rabbitmqctl list_queues -p portal name consumers| \
sudo rabbitmqctl list_queues -p $VHOST name consumers| \
grep -v "^Listing" | grep -v "done.$" | \
perl -nle'($q, $s) = split; print("$q.value $s")'

View File

@ -69,6 +69,6 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
sudo rabbitmqctl list_queues -p portal | \
sudo rabbitmqctl list_queues -p $VHOST | \
grep -v "^Listing" | grep -v "done.$" | \
perl -nle'($q, $s) = split; print("$q.value $s")'

View File

@ -69,6 +69,6 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
sudo rabbitmqctl list_queues -p portal name messages_unacknowledged | \
sudo rabbitmqctl list_queues -p $VHOST name messages_unacknowledged | \
grep -v "^Listing" | grep -v "done.$" | \
perl -nle'($q, $s) = split; print("$q.value $s")'

View File

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

View File

@ -69,6 +69,6 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
sudo rabbitmqctl list_queues -p portal name memory | \
sudo rabbitmqctl list_queues -p $VHOST name memory | \
grep -v "^Listing" | grep -v "done.$" | \
perl -nle'($q, $s) = split; print("$q.value $s")'