pynagsystemd: init at 1.2.0
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
dd478ddc36
commit
b40fc3a56b
@ -15,10 +15,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1vr3zy0zfvbrqc4nf81zxv4gs2q82sv5sjamdm4573ld529mk2nv";
|
sha256 = "1vr3zy0zfvbrqc4nf81zxv4gs2q82sv5sjamdm4573ld529mk2nv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ twine ];
|
nativeBuildInputs = [ twine ];
|
||||||
checkInputs = [ pytest numpy ];
|
checkInputs = [ pytest numpy ];
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# this test relies on who, which does not work in the sandbox
|
# this test relies on who, which does not work in the sandbox
|
||||||
pytest -k "not test_check_users" tests/
|
pytest -k "not test_check_users" tests/
|
||||||
|
22
pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
Normal file
22
pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -15469,6 +15469,8 @@ in
|
|||||||
|
|
||||||
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
|
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
|
||||||
|
|
||||||
|
pynagsystemd = callPackage ../servers/monitoring/nagios/plugins/pynagsystemd.nix { };
|
||||||
|
|
||||||
neo4j = callPackage ../servers/nosql/neo4j { };
|
neo4j = callPackage ../servers/nosql/neo4j { };
|
||||||
|
|
||||||
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
|
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
|
||||||
|
Loading…
Reference in New Issue
Block a user