2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #595 from Zumata/master

Fixed typo in rabbitmq_queue_memory
This commit is contained in:
Stig Sandbeck Mathisen 2015-05-05 13:49:12 +02:00
commit 1a3bfee654

View File

@ -30,13 +30,13 @@ fi
HOME=/tmp/
VHOST=${vhost:-"/"}
QUEUES=$(rabbitmqctl list_queues -p $VHOST name | \
QUEUES=$(HOME=$HOME rabbitmqctl list_queues -p $VHOST name | \
grep -v '^Listing' | \
grep -v 'done\.$' | sed -e 's/[.=-]/_/g' )
if [ "$1" = "config" ]; then
QUEUE_WARN=${queue_warn:-10000}
QUEUE_CRIT=${queue_crit:-20000}
QUEUE_WARN=${queue_warn:-104857600} # 100 MB
QUEUE_CRIT=${queue_crit:-209715200} # 200 MB
# The host name this plugin is for. (Can be overridden to have
# one machine answer for several)