2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2014-12-22 20:13:08 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "newrelic-sysmond";
|
2016-07-18 21:03:30 +00:00
|
|
|
version = "2.3.0.132";
|
2014-12-22 20:13:08 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://download.newrelic.com/server_monitor/archive/${version}/newrelic-sysmond-${version}-linux.tar.gz";
|
2016-07-18 20:18:05 +00:00
|
|
|
sha256 = "0cdvffdsadfahfn1779zjfawz6l77awab3g9mw43vsba1568jh4f";
|
2014-12-22 20:13:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
|
2014-12-26 17:28:15 +00:00
|
|
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
2014-12-22 20:13:08 +00:00
|
|
|
$out/bin/nrsysmond
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-12-22 20:13:08 +00:00
|
|
|
description = "System-wide monitoring for newrelic";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://newrelic.com/";
|
2022-06-16 23:40:08 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2016-07-18 21:03:30 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ lnl7 ];
|
2014-12-22 20:13:08 +00:00
|
|
|
};
|
|
|
|
}
|