mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
check-uptime: init at 20161112
This commit is contained in:
parent
ca99ec3f58
commit
486391d191
26
pkgs/servers/monitoring/plugins/uptime.nix
Normal file
26
pkgs/servers/monitoring/plugins/uptime.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "check-uptime-${version}";
|
||||
version = "20161112";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "madrisan";
|
||||
repo = "nagios-plugins-uptime";
|
||||
rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b";
|
||||
sha256 = "18q9ibzqn97dsyr9xs3w9mqk80nmmfw3kcjidrdsj542amlsycyk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = "ln -sr $out/libexec $out/bin";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Uptime check plugin for Sensu/Nagios/others";
|
||||
homepage = https://github.com/madrisan/nagios-plugins-uptime;
|
||||
license = licenses.gpl3;
|
||||
maintainer = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
|
@ -19231,6 +19231,8 @@ with pkgs;
|
|||
|
||||
hy = callPackage ../development/interpreters/hy {};
|
||||
|
||||
check-uptime = callPackage ../servers/monitoring/plugins/uptime.nix { };
|
||||
|
||||
ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { inherit (darwin) cctools; };
|
||||
|
||||
chrome-gnome-shell = callPackage ../desktops/gnome-3/extensions/chrome-gnome-shell {};
|
||||
|
|
Loading…
Reference in a new issue