1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

fixed default values for rabbitmq_queue_memory

This commit is contained in:
Vladimir Ryazanov 2015-03-05 18:42:20 +08:00
parent c18c1863cf
commit d60ad39762

View file

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