chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Wire up Kapacitor Alert Endpoint Test buttons

Open pauldix opened this issue 10 years ago • 9 comments

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

pauldix avatar Nov 08 '16 22:11 pauldix

@nathanielc can you put in links to kapacitor documentation around this

nhaugo avatar Nov 08 '16 22:11 nhaugo

https://docs.influxdata.com/kapacitor/latest/api/api/#testing-services

nathanielc avatar Nov 08 '16 22:11 nathanielc

Is https://github.com/influxdata/chronograf/issues/301 related to this?

jaredscheib avatar Dec 21 '17 20:12 jaredscheib

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

russorat avatar Jan 31 '18 20:01 russorat

@ebb-tide tested every integration i could. the only issues i found are in the previous comment. 🍰

russorat avatar Feb 01 '18 00:02 russorat

needs backend support to add "to" field to SMTP config @goller

ebb-tide avatar Feb 05 '18 21:02 ebb-tide

@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 avatar Feb 05 '18 21:02 goller

@goller The SMTP test options has a field:

To []string `json:"to"`

nathanielc avatar Feb 05 '18 23:02 nathanielc

image 👏 👏 👏

russorat avatar Feb 07 '18 23:02 russorat