summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2019-12-29 12:00:00 +0000
committerJon <jonringer@users.noreply.github.com>2020-01-03 15:48:42 -0800
commitb40fc3a56b51a00e91e016f74e68b5614789ac80 (patch)
treed255931686e147a92c3346eb11c51987df9cf70e /pkgs/servers
parentdd478ddc36f60600d380c31705558ab7e8f36aae (diff)
downloadnixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar.gz
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar.bz2
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar.lz
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar.xz
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.tar.zst
nixpkgs-b40fc3a56b51a00e91e016f74e68b5614789ac80.zip
pynagsystemd: init at 1.2.0
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix b/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
new file mode 100644
index 00000000000..62f6bc96a52
--- /dev/null
+++ b/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
@@ -0,0 +1,22 @@
+{ fetchFromGitHub, python3Packages, lib }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "pynagsystemd";
+  version = "1.2.0";
+
+  src = fetchFromGitHub {
+    owner = "kbytesys";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1xjhkhdpmqa7ngcpcfhrkmj4cid2wla3fzgr04wvw672ysffv2vz";
+  };
+
+  propagatedBuildInputs = with python3Packages; [ nagiosplugin ];
+
+  meta = with lib; {
+    description = "Simple and easy nagios check for systemd status";
+    homepage = "https://github.com/kbytesys/pynagsystemd";
+    maintainers = with maintainers; [ symphorien ];
+    license = licenses.gpl2;
+  };
+}