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

relatively more reasonable default values for rabbitmq_queue_memory

This commit is contained in:
Vladimir Ryazanov 2015-03-05 18:27:34 +08:00
parent c4220bde5f
commit c18c1863cf

View File

@ -35,8 +35,8 @@ QUEUES=$(HOME=$HOME rabbitmqctl list_queues -p $VHOST name | \
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:-$[100 * 1024 * 1024]}
QUEUE_CRIT=${queue_crit:-$[200 * 1024 * 1024]}
# The host name this plugin is for. (Can be overridden to have
# one machine answer for several)