diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-03 21:59:35 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-03 21:59:35 +0000 |
commit | b4bd1c888a5041c964a882406b758e65a3803821 (patch) | |
tree | 9c0ddacd5289541b17386132b620642225040ce8 /pkgs/servers | |
parent | c28744816a05f1b189abf5b649606bf2b64cf705 (diff) |
* Added Zabbix, a system and network monitoring tool.
svn path=/nixpkgs/trunk/; revision=11963
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/zabbix/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/zabbix/default.nix b/pkgs/servers/monitoring/zabbix/default.nix new file mode 100644 index 0000000000000..df632a69b31a3 --- /dev/null +++ b/pkgs/servers/monitoring/zabbix/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl, enableServer ? false, postgresql ? null, curl ? null}: + +stdenv.mkDerivation { + name = "zabbix-1.4.5"; + + src = fetchurl { + url = mirror://sourceforge/zabbix/zabbix-1.4.5.tar.gz; + sha256 = "1ha82q6rp49rgdfmni73y60kqjy00mfr2bp10mb0gnb0k4v9ppmb"; + }; + + configureFlags = "--enable-agent " + + (if enableServer then '' + --enable-server + --with-pgsql + --with-libcurl + '' else ""); + + buildInputs = stdenv.lib.optionals enableServer [postgresql curl]; + + meta = { + description = "An enterprise-class open source distributed monitoring solution"; + homepage = http://www.zabbix.com/; + license = "GPL"; + }; +} |