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:
parent
4f6cd27b37
commit
2559b8f41f
@ -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")'
|
||||
|
@ -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")'
|
||||
|
@ -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")'
|
||||
|
@ -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")'
|
||||
|
@ -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")'
|
||||
|
Loading…
Reference in New Issue
Block a user