* add nagios for monitoring stuff (handy for in the buildfarm!).

It needs cleaning up (I think^Wknow there are some impurities in all the
scripts and the config) and it is non-functional until the nagios-plugins
package has been added.

svn path=/nixpkgs/trunk/; revision=7506
This commit is contained in:
Armijn Hemel 2006-12-28 00:48:06 +00:00
parent 5d72829c18
commit b3dfc01024
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation {
name = "nagios-2.6";
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/nagios/nagios-2.6.tar.gz;
md5 = "a032edba07bf389b803ce817e9406c02";
};
patches = [./nagios.patch];
buildInputs = [perl];
buildPhase = "make all";
}

View file

@ -0,0 +1,13 @@
diff -ruN nagios-2.6/configure nagios-2.6.new/configure
--- nagios-2.6/configure 2006-11-28 03:29:04.000000000 +0100
+++ nagios-2.6.new/configure 2006-12-28 01:22:56.000000000 +0100
@@ -4810,7 +4810,8 @@
#define DEFAULT_NAGIOS_GROUP "$nagios_grp"
_ACEOF
-INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
+#INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
+INSTALL_OPTS=""