Clarify description of stats_cron_schedule option

The description for this option is confusing. Leaving it unset
implies using the default value which enables the cron task.

This change clarifies to the user they must actually set the value to
an empty string in order to disable the cron task.

Change-Id: I39efdfe574412ec5a188794b32b5cf221c40e884
Closes-Bug: #1697523
This commit is contained in:
Shane Peters 2017-06-12 14:23:04 -04:00 committed by Edward Hope-Morley
parent 04f67e13d9
commit 01386e0cb2
1 changed files with 13 additions and 13 deletions

View File

@ -75,20 +75,20 @@ options:
Minimum number of units expected to exist before charm will attempt to
form a rabbitmq cluster.
stats_cron_schedule:
type: string
default: '*/5 * * * *'
description: |
Cron schedule used to generate rabbitmq stats. If unset
no stats will be generated.
type: string
default: '*/5 * * * *'
description: |
Cron schedule used to generate rabbitmq stats. To disable,
either unset this config option or set it to an empty string ('').
queue_thresholds:
type: string
default: "[['\\*', '\\*', 100, 200]]"
description: |
List of RabbitMQ queue size check thresholds. Interpreted as YAML
in format [<vhost>, <queue>, <warn>, <crit>]
- ['/', 'queue1', 10, 20]
- ['/', 'queue2', 200, 300]
Wildcards '*' are accepted to monitor all vhosts and/or queues.
type: string
default: "[['\\*', '\\*', 100, 200]]"
description: |
List of RabbitMQ queue size check thresholds. Interpreted as YAML
in format [<vhost>, <queue>, <warn>, <crit>]
- ['/', 'queue1', 10, 20]
- ['/', 'queue2', 200, 300]
Wildcards '*' are accepted to monitor all vhosts and/or queues.
connection-backlog:
type: int
default: