cvtienhoven / graylog-plugin-sensu

AlarmCallback plugin to send alerts from Graylog to the Sensu platform.
GNU General Public License v3.0
2 stars 1 forks source link

Cannot send test alerts to sensu #2

Closed jothoma1 closed 7 years ago

jothoma1 commented 7 years ago

Hi, i'm trying to send alerts to sensu but i'm having some problems; When i try the notifications, it always failed with : "Sending test alert notification failed with message: cannot POST https://mygraylogcluster/api/alerts/callbacks/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/test"

I'm using Graylog 2.2.3. Do you have an idea ? My Graylog sensu config seems to be ok (sensu works)

Thanks in advance Johan

cvtienhoven commented 7 years ago

Well the alerting mechanism of Graylog has been adapted a bit from 2.1 to 2.2, so I can imagine that Alarm Callback plugins should now implement a test method, which hasn't been done yet for the Sensu Alarm Callback plugin. It might however work perfectly, we're using the plugin ourselves with version 2.2.2. of Graylog. But I'll look into this, thanks for submitting this issue.

jothoma1 commented 7 years ago

Thanks for your explanation for this test alert behavior. I will open another issue as it's not the same problem (ssl problem i think)

cvtienhoven commented 7 years ago

Closed this issues as it's said to work in #3

jothoma1 commented 7 years ago

:+1: