mirror of
https://github.com/cmur2/munin-rabbitmq.git
synced 2024-12-22 12:54:27 +01:00
Set graph category
This commit is contained in:
parent
e4024563c6
commit
706c91ea22
@ -28,7 +28,7 @@ fi
|
|||||||
# If run with the "config"-parameter, give out information on how the
|
# If run with the "config"-parameter, give out information on how the
|
||||||
# graphs should look.
|
# graphs should look.
|
||||||
|
|
||||||
VHOST=portal
|
VHOST=${vhost:-"/"}
|
||||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||||
grep -v '^Listing' | \
|
grep -v '^Listing' | \
|
||||||
grep -v 'done.$')
|
grep -v 'done.$')
|
||||||
@ -51,6 +51,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
for queue in $QUEUES; do
|
for queue in $QUEUES; do
|
||||||
echo "$queue.label $queue"
|
echo "$queue.label $queue"
|
@ -44,6 +44,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
echo "connections.label Connections"
|
echo "connections.label Connections"
|
||||||
echo "connections.warning $CONN_WARN"
|
echo "connections.warning $CONN_WARN"
|
||||||
|
@ -28,7 +28,7 @@ fi
|
|||||||
# If run with the "config"-parameter, give out information on how the
|
# If run with the "config"-parameter, give out information on how the
|
||||||
# graphs should look.
|
# graphs should look.
|
||||||
|
|
||||||
VHOST=portal
|
VHOST=${vhost:-"/"}
|
||||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||||
grep -v '^Listing' | \
|
grep -v '^Listing' | \
|
||||||
grep -v 'done.$')
|
grep -v 'done.$')
|
||||||
@ -51,6 +51,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
for queue in $QUEUES; do
|
for queue in $QUEUES; do
|
||||||
echo "$queue.label $queue"
|
echo "$queue.label $queue"
|
||||||
|
@ -28,7 +28,7 @@ fi
|
|||||||
# If run with the "config"-parameter, give out information on how the
|
# If run with the "config"-parameter, give out information on how the
|
||||||
# graphs should look.
|
# graphs should look.
|
||||||
|
|
||||||
VHOST=portal
|
VHOST=${vhost:-"/"}
|
||||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||||
grep -v '^Listing' | \
|
grep -v '^Listing' | \
|
||||||
grep -v 'done.$')
|
grep -v 'done.$')
|
||||||
@ -51,6 +51,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
for queue in $QUEUES; do
|
for queue in $QUEUES; do
|
||||||
echo "$queue.label $queue"
|
echo "$queue.label $queue"
|
||||||
|
@ -28,7 +28,7 @@ fi
|
|||||||
# If run with the "config"-parameter, give out information on how the
|
# If run with the "config"-parameter, give out information on how the
|
||||||
# graphs should look.
|
# graphs should look.
|
||||||
|
|
||||||
VHOST=portal
|
VHOST=${vhost:-"/"}
|
||||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||||
grep -v '^Listing' | \
|
grep -v '^Listing' | \
|
||||||
grep -v 'done.$')
|
grep -v 'done.$')
|
||||||
@ -51,6 +51,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
for queue in $QUEUES; do
|
for queue in $QUEUES; do
|
||||||
echo "$queue.label $queue"
|
echo "$queue.label $queue"
|
||||||
|
@ -28,7 +28,7 @@ fi
|
|||||||
# If run with the "config"-parameter, give out information on how the
|
# If run with the "config"-parameter, give out information on how the
|
||||||
# graphs should look.
|
# graphs should look.
|
||||||
|
|
||||||
VHOST=portal
|
VHOST=${vhost:-"/"}
|
||||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||||
grep -v '^Listing' | \
|
grep -v '^Listing' | \
|
||||||
grep -v 'done.$')
|
grep -v 'done.$')
|
||||||
@ -51,6 +51,7 @@ if [ "$1" = "config" ]; then
|
|||||||
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
|
||||||
# 420 milliload)
|
# 420 milliload)
|
||||||
#echo 'graph_scale no'
|
#echo 'graph_scale no'
|
||||||
|
echo 'graph_category RabbitMQ'
|
||||||
|
|
||||||
for queue in $QUEUES; do
|
for queue in $QUEUES; do
|
||||||
echo "$queue.label $queue"
|
echo "$queue.label $queue"
|
||||||
|
Loading…
Reference in New Issue
Block a user