aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/graylog/plugins.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/graylog/plugins.nix')
-rw-r--r--nixpkgs/pkgs/tools/misc/graylog/plugins.nix58
1 files changed, 54 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/misc/graylog/plugins.nix b/nixpkgs/pkgs/tools/misc/graylog/plugins.nix
index 1f351b66203..b1abc8a5065 100644
--- a/nixpkgs/pkgs/tools/misc/graylog/plugins.nix
+++ b/nixpkgs/pkgs/tools/misc/graylog/plugins.nix
@@ -38,10 +38,10 @@ in {
auth_sso = glPlugin rec {
name = "graylog-auth-sso-${version}";
pluginName = "graylog-plugin-auth-sso";
- version = "3.1.0";
+ version = "3.3.0";
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
- sha256 = "0hwgpq1j3qk0j1zgap5f1avh2nvkcscgds81x8xr0gamphgps8y2";
+ sha256 = "1g47hlld8vzicd47b5i9n2816rbrhv18vjq8gp765c7mdg4a2jn8";
};
meta = {
homepage = "https://github.com/Graylog2/graylog-plugin-auth-sso";
@@ -61,6 +61,25 @@ in {
description = "Message filter plugin can be used to do DNS lookups for the source field in Graylog messages";
};
};
+ enterprise-integrations = glPlugin rec {
+ name = "graylog-enterprise-integrations-${version}";
+ pluginName = "graylog-plugin-enterprise-integrations";
+ version = "3.3.4";
+ src = fetchurl {
+ url = "https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-${version}.tgz";
+ sha256 = "0ln0vmnfgxg6hdq7sh58xdqn14bl86qrgy3923f3q3hx209v6vn9";
+ };
+ installPhase = ''
+ mkdir -p $out/bin
+ tar --strip-components=2 -xf $src
+ cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
+ '';
+ meta = {
+ homepage = "https://docs.graylog.org/en/3.3/pages/integrations.html#enterprise";
+ description = "Integrations are tools that help Graylog work with external systems (unfree enterprise integrations)";
+ license = stdenv.lib.licenses.unfree;
+ };
+ };
filter-messagesize = glPlugin rec {
name = "graylog-filter-messagesize-${version}";
pluginName = "graylog-plugin-filter-messagesize";
@@ -74,6 +93,24 @@ in {
description = "Prints out all messages that have an estimated size crossing a configured threshold during processing";
};
};
+ integrations = glPlugin rec {
+ name = "graylog-integrations-${version}";
+ pluginName = "graylog-plugin-integrations";
+ version = "3.3.4";
+ src = fetchurl {
+ url = "https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-${version}.tgz";
+ sha256 = "14g6vdyibp3rva8bwss7vjbi9fpxvgp2gbk1r8divbhhpiwsjyxc";
+ };
+ installPhase = ''
+ mkdir -p $out/bin
+ tar --strip-components=2 -xf $src
+ cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
+ '';
+ meta = {
+ homepage = https://github.com/Graylog2/graylog-plugin-integrations;
+ description = "A collection of open source Graylog integrations that will be released together";
+ };
+ };
internal-logs = glPlugin rec {
name = "graylog-internal-logs-${version}";
pluginName = "graylog-plugin-internal-logs";
@@ -142,10 +179,10 @@ in {
pagerduty = glPlugin rec {
name = "graylog-pagerduty-${version}";
pluginName = "graylog-plugin-pagerduty";
- version = "1.3.0";
+ version = "2.0.0";
src = fetchurl {
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
- sha256 = "1g63c6rm5pkz7f0d73wb2lmk4zm430jqnhihbyq112cm4i7ymglh";
+ sha256 = "0xhcwfwn7c77giwjilv7k7aijnj9azrjbjgd0r3p6wdrw970f27r";
};
meta = {
homepage = "https://github.com/graylog-labs/graylog-plugin-pagerduty";
@@ -178,6 +215,19 @@ in {
description = "Can notify Slack or Mattermost channels about triggered alerts in Graylog (Alarm Callback)";
};
};
+ snmp = glPlugin rec {
+ name = "graylog-snmp-${version}";
+ pluginName = "graylog-plugin-snmp";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
+ sha256 = "1hkaklwzcsvqq45b98chwqxqdgnnbj4dg68agsll13yq4zx37qpp";
+ };
+ meta = {
+ homepage = https://github.com/graylog-labs/graylog-plugin-snmp;
+ description = "Graylog plugin to receive SNMP traps";
+ };
+ };
spaceweather = glPlugin rec {
name = "graylog-spaceweather-${version}";
pluginName = "graylog-plugin-spaceweather";