Loading maintainers/maintainer-list.nix +6 −0 Original line number Diff line number Diff line Loading @@ -7884,6 +7884,12 @@ githubId = 26470037; name = "Markus Kowalewski"; }; mariaa144 = { email = "speechguard_intensivist@aleeas.com"; github = "mariaa144"; githubId = 105451387; name = "Maria"; }; marijanp = { name = "Marijan Petričević"; email = "marijan.petricevic94@gmail.com"; Loading pkgs/servers/monitoring/nagios/plugins/zfs.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , python3 , zfs , sudo }: stdenv.mkDerivation rec { pname = "check_zfs"; version = "2.0"; src = fetchFromGitHub { owner = "zlacelle"; repo = "nagios_check_zfs_linux"; rev = version; sha256 = "gPLCNt6hp4E94s9/PRgsnBN5XXQQ+s2MGcgRFeknXg4="; }; buildInputs = [ python3 zfs sudo ]; postPatch = '' patchShebangs check_zfs.py substituteInPlace check_zfs.py \ --replace "'/usr/bin/sudo'" "'${sudo}/bin/sudo'" \ --replace "'/sbin/zpool'" "'${zfs}/bin/zpool'" \ --replace "'/sbin/zfs'" "'${zfs}/bin/zfs'" ''; installPhase = '' runHook preInstall install -Dm 755 check_zfs.py $out/bin/check_zfs runHook postInstall ''; meta = with lib; { description = "Check the health, capacity, fragmentation, and other things for use with Nagios monitoring"; homepage = "https://github.com/zlacelle/nagios_check_zfs_linux"; license = licenses.gpl3Only; maintainers = with maintainers; [ mariaa144 ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -22744,6 +22744,8 @@ with pkgs; check_systemd = callPackage ../servers/monitoring/nagios/plugins/check_systemd.nix { }; check_zfs = callPackage ../servers/monitoring/nagios/plugins/zfs.nix { }; neo4j = callPackage ../servers/nosql/neo4j { jre = jre8_headless; }; Loading
maintainers/maintainer-list.nix +6 −0 Original line number Diff line number Diff line Loading @@ -7884,6 +7884,12 @@ githubId = 26470037; name = "Markus Kowalewski"; }; mariaa144 = { email = "speechguard_intensivist@aleeas.com"; github = "mariaa144"; githubId = 105451387; name = "Maria"; }; marijanp = { name = "Marijan Petričević"; email = "marijan.petricevic94@gmail.com"; Loading
pkgs/servers/monitoring/nagios/plugins/zfs.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , python3 , zfs , sudo }: stdenv.mkDerivation rec { pname = "check_zfs"; version = "2.0"; src = fetchFromGitHub { owner = "zlacelle"; repo = "nagios_check_zfs_linux"; rev = version; sha256 = "gPLCNt6hp4E94s9/PRgsnBN5XXQQ+s2MGcgRFeknXg4="; }; buildInputs = [ python3 zfs sudo ]; postPatch = '' patchShebangs check_zfs.py substituteInPlace check_zfs.py \ --replace "'/usr/bin/sudo'" "'${sudo}/bin/sudo'" \ --replace "'/sbin/zpool'" "'${zfs}/bin/zpool'" \ --replace "'/sbin/zfs'" "'${zfs}/bin/zfs'" ''; installPhase = '' runHook preInstall install -Dm 755 check_zfs.py $out/bin/check_zfs runHook postInstall ''; meta = with lib; { description = "Check the health, capacity, fragmentation, and other things for use with Nagios monitoring"; homepage = "https://github.com/zlacelle/nagios_check_zfs_linux"; license = licenses.gpl3Only; maintainers = with maintainers; [ mariaa144 ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -22744,6 +22744,8 @@ with pkgs; check_systemd = callPackage ../servers/monitoring/nagios/plugins/check_systemd.nix { }; check_zfs = callPackage ../servers/monitoring/nagios/plugins/zfs.nix { }; neo4j = callPackage ../servers/nosql/neo4j { jre = jre8_headless; };