mirror of
https://github.com/cmur2/munin-rabbitmq.git
synced 2024-11-13 02:56:18 +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
|
||||
# graphs should look.
|
||||
|
||||
VHOST=portal
|
||||
VHOST=${vhost:-"/"}
|
||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||
grep -v '^Listing' | \
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
for queue in $QUEUES; do
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
echo "connections.label Connections"
|
||||
echo "connections.warning $CONN_WARN"
|
||||
|
@ -28,7 +28,7 @@ fi
|
||||
# If run with the "config"-parameter, give out information on how the
|
||||
# graphs should look.
|
||||
|
||||
VHOST=portal
|
||||
VHOST=${vhost:-"/"}
|
||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||
grep -v '^Listing' | \
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
for queue in $QUEUES; do
|
||||
echo "$queue.label $queue"
|
||||
|
@ -28,7 +28,7 @@ fi
|
||||
# If run with the "config"-parameter, give out information on how the
|
||||
# graphs should look.
|
||||
|
||||
VHOST=portal
|
||||
VHOST=${vhost:-"/"}
|
||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||
grep -v '^Listing' | \
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
for queue in $QUEUES; do
|
||||
echo "$queue.label $queue"
|
||||
|
@ -28,7 +28,7 @@ fi
|
||||
# If run with the "config"-parameter, give out information on how the
|
||||
# graphs should look.
|
||||
|
||||
VHOST=portal
|
||||
VHOST=${vhost:-"/"}
|
||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||
grep -v '^Listing' | \
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
for queue in $QUEUES; do
|
||||
echo "$queue.label $queue"
|
||||
|
@ -28,7 +28,7 @@ fi
|
||||
# If run with the "config"-parameter, give out information on how the
|
||||
# graphs should look.
|
||||
|
||||
VHOST=portal
|
||||
VHOST=${vhost:-"/"}
|
||||
QUEUE_STATUS=$(sudo rabbitmqctl list_queues -p $VHOST | \
|
||||
grep -v '^Listing' | \
|
||||
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
|
||||
# 420 milliload)
|
||||
#echo 'graph_scale no'
|
||||
echo 'graph_category RabbitMQ'
|
||||
|
||||
for queue in $QUEUES; do
|
||||
echo "$queue.label $queue"
|
||||
|
Loading…
Reference in New Issue
Block a user