Add newrelic-sysmond

This commit is contained in:
Shea Levy 2014-12-22 15:13:08 -05:00
parent 79209e30b5
commit 4e558732e7
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl }:
assert stdenv.system == "x86_64-linux";
stdenv.mkDerivation rec {
name = "newrelic-sysmond-1.5.1.93";
src = fetchurl {
url = "http://download.newrelic.com/server_monitor/release/newrelic-sysmond-1.5.1.93-linux.tar.gz";
sha256 = "1bfwyczcf7pvji8lx566jxgy8dhyf1gmqmi64lj10673a86axnwz";
};
installPhase = ''
mkdir -p $out/bin
install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
$out/bin/nrsysmond
'';
meta = {
homepage = http://newrelic.com/;
description = "System-wide monitoring for newrelic";
license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.shlevy ];
};
}

View File

@ -7761,6 +7761,8 @@ let
net_snmp = callPackage ../servers/monitoring/net-snmp { };
newrelic-sysmond = callPackage ../servers/monitoring/newrelic-sysmond { };
riemann = callPackage ../servers/monitoring/riemann { };
oidentd = callPackage ../servers/identd/oidentd { };