mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
358 lines
15 KiB
JSON
358 lines
15 KiB
JSON
{
|
|
"template_files": {
|
|
"tmpl1": "val1",
|
|
"tmpl2": "val2"
|
|
},
|
|
"alertmanager_config": {
|
|
"global": {
|
|
"resolve_timeout": "1s",
|
|
"smtp_smarthost": ""
|
|
},
|
|
"route": {
|
|
"receiver": "grafana_managed"
|
|
},
|
|
"templates": [],
|
|
"receivers": [
|
|
{
|
|
"name": "grafana_managed",
|
|
"grafana_managed_receiver_configs": [
|
|
{
|
|
"name": "an alert manager receiver",
|
|
"type": "prometheus-alertmanager",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"basicAuthUser": "user",
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://localhost:9093"
|
|
},
|
|
"secureSettings": {
|
|
"basicAuthPassword": "<basicAuthPassword>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a dingding receiver",
|
|
"type": "dingding",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"msgType": "link",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxx"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a discord receiver",
|
|
"type": "discord",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"content": "@user",
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "an email receiver",
|
|
"type": "email",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"addresses": "<email>",
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"singleEmail": true,
|
|
"uploadImage": false
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a googlechat receiver",
|
|
"type": "googlechat",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a hipchat receiver",
|
|
"type": "hipchat",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"apiKey": "<apikey>",
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"roomid": "12345",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a kafka receiver",
|
|
"type": "kafka",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"kafkaRestProxy": "http://localhost:8082",
|
|
"kafkaTopic": "topic1",
|
|
"severity": "critical",
|
|
"uploadImage": false
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a line receiver",
|
|
"type": "line",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": "settings",
|
|
"secureSettings": {
|
|
"token": "<token>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a opsgenie receiver",
|
|
"type": "opsgenie",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": "settings",
|
|
"secureSettings": {
|
|
"apiKey": "<apiKey>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a pagerduty receiver",
|
|
"type": "pagerduty",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"severity": "critic* Connection #0 to host localhost left intact\nal",
|
|
"uploadImage": true
|
|
},
|
|
"secureSettings": {
|
|
"integrationKey": "<integrationKey>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a pushover receiver",
|
|
"type": "pushover",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"apiToken": "",
|
|
"autoResolve": true,
|
|
"device": "",
|
|
"expire": "",
|
|
"httpMethod": "POST",
|
|
"okPriority": "0",
|
|
"okSound": "cosmic",
|
|
"priority": "1",
|
|
"retry": "30",
|
|
"severity": "critical",
|
|
"sound": "pushover",
|
|
"uploadImage": true,
|
|
"userKey": ""
|
|
},
|
|
"secureSettings": {
|
|
"apiToken": "<apiToken>",
|
|
"userKey": "<userKey>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a sensu receiver",
|
|
"type": "sensu",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"handler": "",
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"source": "",
|
|
"uploadImage": false,
|
|
"url": "http://sensu-api.local:4567/results",
|
|
"username": ""
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a sensugo receiver",
|
|
"type": "sensugo",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"check": "",
|
|
"entity": "",
|
|
"handler": "",
|
|
"httpMethod": "POST",
|
|
"namespace": "",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://sensu-api.local:8080"
|
|
},
|
|
"secureSettings": {
|
|
"apikey": "<apikey>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a slack receiver",
|
|
"type": "slack",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"iconEmoji": "",
|
|
"iconUrl": "",
|
|
"mentionGroups": "",
|
|
"mentionUsers": "",
|
|
"recipient": "",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"username": ""
|
|
},
|
|
"secureSettings": {
|
|
"token": "<token>",
|
|
"url": "<url>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a teams receiver",
|
|
"type": "teams",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a telegram receiver",
|
|
"type": "telegram",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"chatid": "12345",
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false
|
|
},
|
|
"secureSettings": {
|
|
"bottoken": "<bottoken>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a threema receiver",
|
|
"type": "threema",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"gateway_id": "*3MAGWID",
|
|
"httpMethod": "POST",
|
|
"recipient_id": "YOUR3MID",
|
|
"severity": "critical",
|
|
"uploadImage": false
|
|
},
|
|
"secureSettings": {
|
|
"api_secret": "<api_secret>"
|
|
}
|
|
},
|
|
{
|
|
"name": "a victorops receiver",
|
|
"type": "victorops",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": {
|
|
"autoResolve": true,
|
|
"httpMethod": "POST",
|
|
"severity": "critical",
|
|
"uploadImage": false,
|
|
"url": "http://"
|
|
},
|
|
"secureSettings": {}
|
|
},
|
|
{
|
|
"name": "a webhook receiver",
|
|
"type": "webhook",
|
|
"isDefault": false,
|
|
"sendReminder": false,
|
|
"disableResolveMessage": false,
|
|
"frequency": "5m",
|
|
"settings": null,
|
|
"secureSettings": {
|
|
"password": "<password>"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |