Merge pull request #68474 from peterhoeg/u/plugins

check-xx-health: multiple updates
This commit is contained in:
Peter Hoeg 2019-09-11 15:59:11 +08:00 committed by GitHub
commit 032c6e03d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,18 +5,16 @@ let
glplugin = fetchFromGitHub { glplugin = fetchFromGitHub {
owner = "lausser"; owner = "lausser";
repo = "GLPlugin"; repo = "GLPlugin";
rev = "e8e1a2907a54435c932b3e6c584ba1d679754849"; rev = "ef3107f01afe55fad5452e64ac5bbea00b18a8d5";
sha256 = "0wb55a9pmgbilfffx0wkiikg9830qd66j635ypczqp4basslpq5b"; sha256 = "047fwrycsl2vmpi4wl46fs6f8y191d6qc9ms5rvmrj1dm2r828ws";
}; };
generic = { pname, version, sha256, description, buildInputs, ... }: generic = { pname, version, sha256, description, buildInputs, ... }:
let stdenv.mkDerivation {
name' = "${stdenv.lib.replaceStrings [ "-" ] [ "_" ] pname}-${version}"; inherit pname version;
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://labs.consol.de/assets/downloads/nagios/${name'}.tar.gz"; url = "https://labs.consol.de/assets/downloads/nagios/${pname}-${version}.tar.bz";
inherit sha256; inherit sha256;
}; };
@ -55,24 +53,24 @@ let
in { in {
check-mssql-health = generic { check-mssql-health = generic {
pname = "check_mssql_health"; pname = "check_mssql_health";
version = "2.6.4.14"; version = "2.6.4.15";
sha256 = "0w6gybrs7imx169l8740s0ax3adya867fw0abrampx59mnsj5pm1"; sha256 = "12z0b3c2p18viy7s93r6bbl8fvgsqh80136d07118qhxshp1pwxg";
description = "Check plugin for Microsoft SQL Server."; description = "Check plugin for Microsoft SQL Server.";
buildInputs = [ perlPackages.DBDsybase ]; buildInputs = [ perlPackages.DBDsybase ];
}; };
check-nwc-health = generic { check-nwc-health = generic {
pname = "check_nwc_health"; pname = "check_nwc_health";
version = "7.0.1.3"; version = "7.10.0.6";
sha256 = "0rgd6zgd7kplx3z72n8zbzwkh8vnd83361sk9ibh6ng78sds1sl5"; sha256 = "092rhaqnk3403z0y60x38vgh65gcia3wrd6gp8mr7wszja38kxv2";
description = "Check plugin for network equipment."; description = "Check plugin for network equipment.";
buildInputs = [ perlPackages.NetSNMP ]; buildInputs = [ perlPackages.NetSNMP ];
}; };
check-ups-health = generic { check-ups-health = generic {
pname = "check_ups_health"; pname = "check_ups_health";
version = "2.8.2.2"; version = "2.8.3.3";
sha256 = "1gc2wjsymay2vk5ywc1jj9cvrbhs0fs851x8l4nc75df2g75v521"; sha256 = "0qc2aglppwr9ms4p53kh9nr48625sqrbn46xs0k9rx5sv8hil9hm";
description = "Check plugin for UPSs."; description = "Check plugin for UPSs.";
buildInputs = [ perlPackages.NetSNMP ]; buildInputs = [ perlPackages.NetSNMP ];
}; };