From c17a76279dab7dd8dca83b6245757a6265fef80f Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 16 Feb 2010 12:51:28 +0000 Subject: [PATCH] zabbix agent: extraConfig svn path=/nixos/trunk/; revision=20048 --- modules/services/monitoring/zabbix-agent.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/monitoring/zabbix-agent.nix b/modules/services/monitoring/zabbix-agent.nix index deeb5a007907..8f598b8a7a19 100644 --- a/modules/services/monitoring/zabbix-agent.nix +++ b/modules/services/monitoring/zabbix-agent.nix @@ -22,6 +22,8 @@ let PidFile = ${pidFile} StartAgents = 1 + + ${config.services.zabbixAgent.extraConfig} ''; in @@ -49,6 +51,13 @@ in ''; }; + extraConfig = mkOption { + default = ""; + description = '' + Configuration that is injected verbatim into the configuration file. + ''; + }; + }; };