GDATASoftwareAG / Graylog-Plugin-AlertManager-Callback

A plugin for Graylog which provides the possibility to send alerts to the Prometheus AlertManager API.
MIT License
23 stars 5 forks source link

Not working with Graylog 3? #11

Open cablespaghetti opened 4 years ago

cablespaghetti commented 4 years ago

Hi,

This plugin looks like exactly what I need. However after the plugin gets loaded, the list of Notification types doesn't seem to change.

Downloading https://github.com/GDATASoftwareAG/Graylog-Plugin-AlertManager-Callback/releases/download/1.2.1/graylog-plugin-alertmanagercallback-1.2.1.jar ...
2020-03-31 14:09:03,474 INFO    [CmdLineTool] - Loaded plugin: AlertManager Callback 1.2.1 [de.gdata.mobilelab.alertmanagercallback.AlertManagerAlarmCallback] - {}

image

Anything you can do to help is much appreciated Thanks!

ghost commented 4 years ago

Hi,

If i'm not mistaking Graylog alerts were reworked from v.3.1, so sadly this plugin is not working since :/

jozefbarcin commented 4 years ago

It is planned to rework this plugin to work with Graylog 3.1+ ?

jozefbarcin commented 4 years ago

Currently, this plugin is working on Graylog 3.0.2

jozefbarcin commented 4 years ago

@StefanHufschmidt @jlnshr do you plan to update this plugin to work with Graylog 3.1+

benoc617 commented 4 years ago

I use this plugin just fine even on graylog 3.3 latest. It shows up as a “legacy callback plugin”

StefanHufschmidt commented 4 years ago

@cablespaghetti @matasbalcaitis @jozefbarcin @benoc617 thanks for showing interest in the plugin. Yes, we're planning to add support for Graylog 3.1+. We're expecting this to happen within the next couple of weeks. Feel free to create a pull-request if you have already a working solution and you'd like to share it.

StefanHufschmidt commented 4 years ago

@cablespaghetti @matasbalcaitis @jozefbarcin @benoc617 we've just released the version 1.2.2 of this plugin. It contains some dependency upgrades and adjustments. The vesion 1.2.2 works with Graylog 3.3.5. You can choose it via the "Legacy Alarm Callbacks" for now.

We investigated the necessary work which is needed for the plugin to move into the regular notification plugin section. Unfortunately it is much more work than expected because the plugin development in Graylog changed a lot and would take some more time. In between you can use it from the legacy section. I've also added a small screenshot to the README.MD which shows how to get to the legacy option.