mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
parent
646dd55d16
commit
5426932f7c
22
pkgs/servers/monitoring/plugins/openvpn.nix
Normal file
22
pkgs/servers/monitoring/plugins/openvpn.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, fetchFromGitHub, python3Packages }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "check-openvpn";
|
||||||
|
version = "0.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "liquidat";
|
||||||
|
repo = "nagios-icinga-openvpn";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1vz3p7nckc5k5f06nm1xfzpykhyndh2dzyagmifrzg5k478p1lpm";
|
||||||
|
};
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A nagios/icinga/sensu check plugin for OpenVPN";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -14967,6 +14967,8 @@ in
|
||||||
check-nwc-health
|
check-nwc-health
|
||||||
check-ups-health;
|
check-ups-health;
|
||||||
|
|
||||||
|
check-openvpn = callPackage ../servers/monitoring/plugins/openvpn.nix { };
|
||||||
|
|
||||||
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
|
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
|
||||||
|
|
||||||
neo4j = callPackage ../servers/nosql/neo4j { };
|
neo4j = callPackage ../servers/nosql/neo4j { };
|
||||||
|
|
Loading…
Reference in a new issue