Set graph category

This commit is contained in:
Ask Solem 2009-06-18 15:43:37 +02:00
parent e4024563c6
commit 706c91ea22
6 changed files with 11 additions and 5 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"