Skip to content

Commit

Permalink
check-uptime: init at 20161112
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Aug 11, 2017
1 parent ca99ec3 commit 486391d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/servers/monitoring/plugins/uptime.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {};
Expand Down

0 comments on commit 486391d

Please sign in to comment.