Skip to content

Commit 79135fa

Browse files
Preparation for dependency update release #11
Signed-off-by: Decker, Stefan <[email protected]>
1 parent d23ebaf commit 79135fa

File tree

8 files changed

+15
-7
lines changed

8 files changed

+15
-7
lines changed

CHANGELOG

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
V 2.0
1+
V 1.2.2
22
-----------
3-
* Added support for Graylog 3.3.5
3+
* Upgraded dependencies
4+
* Target changed to Graylog 3.3.5 (as legacy alarm callback)
45

56
V 1.2.1
67
-----------

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This plugin can be used for connecting [Graylog](https://www.graylog.org/) alert
88

99
The plugin development is based on [Graylog2/graylog-plugin-sample](https://github.com/Graylog2/graylog-plugin-sample) which is mentioned in the [Graylog plugin documentation](http://docs.graylog.org/en/3.3/pages/plugins.html).
1010

11+
**Note:** this plugin is currently only available as "Legacy Alarm Callbacks" item after adding it to Graylog
12+
![Legacy Alarm Callback](images/Legacy_Plugin.png)
13+
14+
The current plugin version 1.2.2 has Graylog 3.3.5 as target. The plugin version 1.2.1 (see releases) targets Graylog 2.5.0 and above.
15+
1116
## Use Case
1217
You are using a Graylog for checking the logs for errors, a Prometheus for checking the service metrics and you would like to organize your alerts with a AlertManager you need to get your Graylog alerts into the AlertManager.
1318
This plugin provides the possibility to send your Graylog notifications with a AlertManager-Callback to your AlertManager.
@@ -55,6 +60,8 @@ You can use Docker and Docker-Compose to test changes of this plugin locally by
5560
![Configuration of Callback](images/New_AlertManager_Callback_Window.png)
5661

5762
## Planned Features
63+
* Implementation of EventNotification for usage as non-legacy notification plugin
64+
5865
You would like to contribute anything? - Take a look at [CONTRIBUTING.md](CONTRIBUTING.md).
5966

6067
## License

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ serviceLoader {
2626
}
2727

2828
group = 'de.gdata.mobilelab'
29-
version = "2.0"
29+
version = "1.2.0"
3030

3131
sourceCompatibility = 1.8
3232
targetCompatibility = 1.8

development/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
image: graylog/graylog:3.3.5
2929
volumes:
3030
- graylog_journal:/usr/share/graylog/data/journal
31-
- ../build/libs/graylog-plugin-alertmanagercallback-2.0.jar:/usr/share/graylog/plugin/graylog-plugin-alertmanagercallback.jar
31+
- ../build/libs/graylog-plugin-alertmanagercallback-1.2.0.jar:/usr/share/graylog/plugin/graylog-plugin-alertmanagercallback.jar
3232
environment:
3333
# CHANGE ME (must be at least 16 characters)!
3434
- GRAYLOG_PASSWORD_SECRET=somepasswordpepper

images/Legacy_Plugin.png

19.6 KB
Loading

src/main/java/de/gdata/mobilelab/alertmanagercallback/AlertManagerPluginMetaData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public URI getURL() {
3232

3333
@Override
3434
public Version getVersion() {
35-
return Version.from(2, 0, 0);
35+
return Version.from(1, 2, 0);
3636
}
3737

3838
@Override

src/main/resources/de.gdata.mobilelab.alertmanagercallback.alertmanager-plugin/graylog-plugin.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The plugin version
2-
version=2.0
2+
version=1.2.0
33

44
# The required Graylog server version
55
graylog.version=3.3.5

src/test/java/de/gdata/mobilelab/alertmanagercallback/AlertManagerPluginMetaDataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void getURL() {
3838

3939
@Test
4040
public void getVersion() {
41-
assertEquals(Version.from(2, 0, 0), new AlertManagerPluginMetaData().getVersion());
41+
assertEquals(Version.from(1, 2, 0), new AlertManagerPluginMetaData().getVersion());
4242
}
4343

4444
@Test

0 commit comments

Comments
 (0)