git.iko.soy/typeable/nixpkgs
on master help sign in
graylogPlugins: Update and add plugins

* graylog-auth-sso: 3.1.0 -> 3.3.0 * graylog-enterprise-integrations: init at 3.3.0 * graylog-integrations: init at 3.3.0 * graylog-pagerduty: 1.3.0 -> 2.0.0 * graylog-snmp: init at 0.3.0

commita265cd27b009fad78016d37de23320f9b7192cf8 authorTristan Helmich (omniIT) <tristan.helmich@omniit.de> dateFri 5 Jun 2020, 16:46 (6 years ago) parentb48ad9b
1 file changed+54−4
pkgs/tools/misc/graylog/plugins.nix+54−4
pkgs/tools/misc/graylog/plugins.nix+54−4
@@ -38,10 +38,10 @@ in {
3838 auth_sso = glPlugin rec {
3939 name = "graylog-auth-sso-${version}";
4040 pluginName = "graylog-plugin-auth-sso";
41− version = "3.1.0";
41+ version = "3.3.0";
4242 src = fetchurl {
4343 url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
44− sha256 = "0hwgpq1j3qk0j1zgap5f1avh2nvkcscgds81x8xr0gamphgps8y2";
44+ sha256 = "1g47hlld8vzicd47b5i9n2816rbrhv18vjq8gp765c7mdg4a2jn8";
4545 };
4646 meta = {
4747 homepage = "https://github.com/Graylog2/graylog-plugin-auth-sso";
@@ -61,6 +61,25 @@ in {
6161 description = "Message filter plugin can be used to do DNS lookups for the source field in Graylog messages";
6262 };
6363 };
64+ enterprise-integrations = glPlugin rec {
65+ name = "graylog-enterprise-integrations-${version}";
66+ pluginName = "graylog-plugin-enterprise-integrations";
67+ version = "3.3.0";
68+ src = fetchurl {
69+ url = "https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-${version}.tgz";
70+ sha256 = "1480ccii3nzvm0jp1xm2iddgc789zcwbgd19201q7p3v0ph02yj8";
71+ };
72+ installPhase = ''
73+ mkdir -p $out/bin
74+ tar --strip-components=2 -xf $src
75+ cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
76+ '';
77+ meta = {
78+ homepage = "https://docs.graylog.org/en/3.2/pages/integrations.html#enterprise";
79+ description = "Integrations are tools that help Graylog work with external systems (unfree enterprise integrations)";
80+ license = stdenv.lib.licenses.unfree;
81+ };
82+ };
6483 filter-messagesize = glPlugin rec {
6584 name = "graylog-filter-messagesize-${version}";
6685 pluginName = "graylog-plugin-filter-messagesize";
@@ -74,6 +93,24 @@ in {
7493 description = "Prints out all messages that have an estimated size crossing a configured threshold during processing";
7594 };
7695 };
96+ integrations = glPlugin rec {
97+ name = "graylog-integrations-${version}";
98+ pluginName = "graylog-plugin-integrations";
99+ version = "3.3.0";
100+ src = fetchurl {
101+ url = "https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-${version}.tgz";
102+ sha256 = "08cpxviwk2p4zsgbr2h3symr88rf3fjfz1kkg4iglvdc5mqf71xx";
103+ };
104+ installPhase = ''
105+ mkdir -p $out/bin
106+ tar --strip-components=2 -xf $src
107+ cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
108+ '';
109+ meta = {
110+ homepage = https://github.com/Graylog2/graylog-plugin-integrations;
111+ description = "A collection of open source Graylog integrations that will be released together";
112+ };
113+ };
77114 internal-logs = glPlugin rec {
78115 name = "graylog-internal-logs-${version}";
79116 pluginName = "graylog-plugin-internal-logs";
@@ -142,10 +179,10 @@ in {
142179 pagerduty = glPlugin rec {
143180 name = "graylog-pagerduty-${version}";
144181 pluginName = "graylog-plugin-pagerduty";
145− version = "1.3.0";
182+ version = "2.0.0";
146183 src = fetchurl {
147184 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
148− sha256 = "1g63c6rm5pkz7f0d73wb2lmk4zm430jqnhihbyq112cm4i7ymglh";
185+ sha256 = "0xhcwfwn7c77giwjilv7k7aijnj9azrjbjgd0r3p6wdrw970f27r";
149186 };
150187 meta = {
151188 homepage = "https://github.com/graylog-labs/graylog-plugin-pagerduty";
@@ -178,6 +215,19 @@ in {
178215 description = "Can notify Slack or Mattermost channels about triggered alerts in Graylog (Alarm Callback)";
179216 };
180217 };
218+ snmp = glPlugin rec {
219+ name = "graylog-snmp-${version}";
220+ pluginName = "graylog-plugin-snmp";
221+ version = "0.3.0";
222+ src = fetchurl {
223+ url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
224+ sha256 = "1hkaklwzcsvqq45b98chwqxqdgnnbj4dg68agsll13yq4zx37qpp";
225+ };
226+ meta = {
227+ homepage = https://github.com/graylog-labs/graylog-plugin-snmp;
228+ description = "Graylog plugin to receive SNMP traps";
229+ };
230+ };
181231 spaceweather = glPlugin rec {
182232 name = "graylog-spaceweather-${version}";
183233 pluginName = "graylog-plugin-spaceweather";