NGAlert: Add VictorOps notification channel (#34161)

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
Ganesh Vernekar
2021-05-19 23:22:14 +05:30
committed by GitHub
parent bd88f66bf1
commit ad1d0ae0bf
5 changed files with 334 additions and 0 deletions
@@ -287,6 +287,56 @@ var expAvailableChannelJsonOutput = `
}
]
},
{
"type": "victorops",
"name": "VictorOps",
"heading": "VictorOps settings",
"description": "Sends notifications to VictorOps",
"info": "",
"options": [
{
"element": "input",
"inputType": "text",
"label": "Url",
"description": "",
"placeholder": "VictorOps url",
"propertyName": "url",
"selectOptions": null,
"showWhen": {
"field": "",
"is": ""
},
"required": true,
"validationRule": "",
"secure": false
},
{
"element": "select",
"inputType": "",
"label": "Message Type",
"description": "",
"placeholder": "",
"propertyName": "messageType",
"selectOptions": [
{
"value": "CRITICAL",
"label": "CRITICAL"
},
{
"value": "WARNING",
"label": "WARNING"
}
],
"showWhen": {
"field": "",
"is": ""
},
"required": false,
"validationRule": "",
"secure": false
}
]
},
{
"type": "pushover",
"name": "Pushover",