diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-04 08:45:00 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-04 08:45:00 +0000 |
commit | 7d0bc40935ab087504c44e6ea74fbe935477d1bc (patch) | |
tree | aa1cc859bcb39273615a86f1a74fe363ad0f2bbc /pkgs/servers | |
parent | b4bd1c888a5041c964a882406b758e65a3803821 (diff) |
* Install the Zabbix PHP frontend and the SQL schemata/data.
svn path=/nixpkgs/trunk/; revision=11965
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/zabbix/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/zabbix/default.nix b/pkgs/servers/monitoring/zabbix/default.nix index df632a69b31a3..6bc15d54abbf7 100644 --- a/pkgs/servers/monitoring/zabbix/default.nix +++ b/pkgs/servers/monitoring/zabbix/default.nix @@ -17,6 +17,15 @@ stdenv.mkDerivation { buildInputs = stdenv.lib.optionals enableServer [postgresql curl]; + postInstall = if enableServer then '' + ensureDir $out/share/zabbix + cp -prvd frontends/php $out/share/zabbix/php + ensureDir $out/share/zabbix/db/data + cp -prvd create/data/*.sql $out/share/zabbix/db/data + ensureDir $out/share/zabbix/db/schema + cp -prvd create/schema/*.sql $out/share/zabbix/db/schema + '' else ""; # */ + meta = { description = "An enterprise-class open source distributed monitoring solution"; homepage = http://www.zabbix.com/; |