Wire up Kapacitor Alert Endpoint Test buttons
Kapacitor now has an API to test Alert Endpoints. The Sources -> Kapacitor screen should have test buttons for each of the Alert Endpoints that use this API: https://github.com/influxdata/kapacitor/pull/970
@nathanielc can you put in links to kapacitor documentation around this
https://docs.influxdata.com/kapacitor/latest/api/api/#testing-services
Is https://github.com/influxdata/chronograf/issues/301 related to this?
Acceptance testing feedback:
- [x] Correctly handle errors coming back from Kapacitor indicating that the test did not succeed and display the error message to the user. see SMTP endpoint for an example
- [x] Add "to" field for the SMTP config to allow for testing SMTP send
checked:
- [x] Alerta: found #2742 which can be fixed later
- [ ] Hipchat: No free version or trial available to test
- [ ] OpsGenie: Test returns DeprecatedApiException until https://github.com/influxdata/kapacitor/issues/1708 is fixed
- [x] PagerDuty
- [x] Pushover
- [x] Sensu
- [x] Slack
- [x] SMTP
- [x] Talk
- [ ] Telegram: Not currently available to users in the US
- [x] VictorOps
@ebb-tide tested every integration i could. the only issues i found are in the previous comment. 🍰
needs backend support to add "to" field to SMTP config @goller
@ebb-tide This would need to be added to kapacitor's smtptest.
@nathanielc Is it possible to add a to field to kapacitor's smtptest?
@goller The SMTP test options has a field:
To []string `json:"to"`
👏 👏 👏