diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-08-07 22:56:54 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-08-17 15:02:41 +0800 |
commit | f49aa9029755bb0b0bd2a964528c7731b2d3f969 (patch) | |
tree | a6c010d37a02b7622746e6566fd07332881d2189 /pkgs/servers/monitoring/nagios | |
parent | 6ddd4cec8051cfa02cca88b142c2a4eaf4499d7a (diff) |
monitoring-plugins: rename from nagiosPluginsOfficial
The upstream project has renamed itself. We now stick this into a folder where we can keep other shared monitoring plugins.
Diffstat (limited to 'pkgs/servers/monitoring/nagios')
-rw-r--r-- | pkgs/servers/monitoring/nagios/plugins/official-2.x.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix b/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix deleted file mode 100644 index 67c3954ef5696..0000000000000 --- a/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ stdenv, fetchurl, openssh, openssl }: - -stdenv.mkDerivation rec { - name = "nagios-plugins-${version}"; - version = "2.2.0"; - - src = fetchurl { - url = "http://nagios-plugins.org/download/${name}.tar.gz"; - sha256 = "074yia04py5y07sbgkvri10dv8nf41kqq1x6kmwqcix5vvm9qyy3"; - }; - - # !!! Awful hack. Grrr... this of course only works on NixOS. - # Anyway the check that configure performs to figure out the ping - # syntax is totally impure, because it runs an actual ping to - # localhost (which won't work for ping6 if IPv6 support isn't - # configured on the build machine). - preConfigure= " - configureFlagsArray=( - --with-ping-command='/run/wrappers/bin/ping -4 -n -U -w %d -c %d %s' - --with-ping6-command='/run/wrappers/bin/ping -6 -n -U -w %d -c %d %s' - ) - "; - - postInstall = "ln -s libexec $out/bin"; - - # !!! make openssh a runtime dependency only - buildInputs = [ openssh openssl ]; - - meta = { - description = "Official plugins for Nagios"; - homepage = http://www.nagios.org/download/plugins; - license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; - maintainers = with stdenv.lib.maintainers; [ thoughtpolice relrod ]; - }; -} |