diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-12-28 00:48:06 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-12-28 00:48:06 +0000 |
commit | b3dfc01024363562aa034b98983b74a3dcacc32d (patch) | |
tree | be0ccb9efd0ea970d05a26eb891d89e25b49461a /pkgs/servers/monitoring | |
parent | 5d72829c18e50609cb92668be221a6b430a898ea (diff) | |
download | nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar.gz nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar.bz2 nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar.lz nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar.xz nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.tar.zst nixpkgs-b3dfc01024363562aa034b98983b74a3dcacc32d.zip |
* 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
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/nagios/default.nix | 14 | ||||
-rw-r--r-- | pkgs/servers/monitoring/nagios/nagios.patch | 13 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/nagios/default.nix b/pkgs/servers/monitoring/nagios/default.nix new file mode 100644 index 00000000000..31bf9c11b46 --- /dev/null +++ b/pkgs/servers/monitoring/nagios/default.nix @@ -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"; +} diff --git a/pkgs/servers/monitoring/nagios/nagios.patch b/pkgs/servers/monitoring/nagios/nagios.patch new file mode 100644 index 00000000000..6fc27153617 --- /dev/null +++ b/pkgs/servers/monitoring/nagios/nagios.patch @@ -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="" + + + |