summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorFotis Voutsas <fotis@netdata.cloud>2023-07-28 11:47:12 +0300
committerGitHub <noreply@github.com>2023-07-28 11:47:12 +0300
commit869fa63317a78730d2362f3ae7b576ad84a11229 (patch)
tree43b5a5289c79c83f6eb7c3074a2a9697b81de773 /health
parent78cb40c5d594cc8efbeba05c0ce4965cf11c3ff1 (diff)
Fix descriptions in config objects, make them single line (#15610)
Diffstat (limited to 'health')
-rw-r--r--health/notifications/alerta/metadata.yaml20
1 files changed, 7 insertions, 13 deletions
diff --git a/health/notifications/alerta/metadata.yaml b/health/notifications/alerta/metadata.yaml
index f2fd915e0d..6bd3cffbcf 100644
--- a/health/notifications/alerta/metadata.yaml
+++ b/health/notifications/alerta/metadata.yaml
@@ -33,35 +33,29 @@
list:
- name: 'SEND_ALERTA'
default_value: ''
- description: |
- Set `SEND_ALERTA` to YES
+ description: "Set `SEND_ALERTA` to YES"
required: true
- name: 'ALERTA_WEBHOOK_URL'
default_value: ''
- description: |
- set `ALERTA_WEBHOOK_URL` to the API url you defined when you installed the Alerta server.
+ description: "set `ALERTA_WEBHOOK_URL` to the API url you defined when you installed the Alerta server."
required: true
- name: 'ALERTA_API_KEY'
default_value: ''
- description: |
- Set `ALERTA_API_KEY` to your API key.
+ description: "Set `ALERTA_API_KEY` to your API key."
required: true
- detailed_description: |
+ detailed_description: >
You will need an API key to send messages from any source, if Alerta is configured to use authentication (recommended). To create a new API key:
1. Go to Configuration > API Keys.
2. Create a new API key called "netdata" with `write:alerts` permission.
- name: 'DEFAULT_RECIPIENT_ALERTA'
default_value: ''
- description: |
- Set `DEFAULT_RECIPIENT_ALERTA` to the default recipient environment you want the alert notifications to be sent to.
- All roles will default to this variable if left unconfigured.
+ description: "Set `DEFAULT_RECIPIENT_ALERTA` to the default recipient environment you want the alert notifications to be sent to. All roles will default to this variable if left unconfigured."
required: true
- name: 'DEFAULT_RECIPIENT_CUSTOM'
default_value: ''
- description: |
- Set different recipient environments per role, by editing `DEFAULT_RECIPIENT_CUSTOM` with the environment name of your choice
+ description: "Set different recipient environments per role, by editing `DEFAULT_RECIPIENT_CUSTOM` with the environment name of your choice"
required: false
- detailed_description: |
+ detailed_description: >
The `DEFAULT_RECIPIENT_CUSTOM` can be edited in the following entries at the bottom of the same file:
```