diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2019-07-26 15:49:28 +0200 |
---|---|---|
committer | Marek Mahut <marek.mahut@gmail.com> | 2019-07-26 16:22:47 +0200 |
commit | 6e762653def5b5794c6ab75c5e55af95158ef0f0 (patch) | |
tree | 48dd53301b96731598e22a5d1dcf1e736ea43702 /nixos/modules/services | |
parent | 2a227c6cd801c2b07034c0aac0f71b0d99b521e9 (diff) | |
download | nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar.gz nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar.bz2 nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar.lz nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar.xz nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.tar.zst nixlib-6e762653def5b5794c6ab75c5e55af95158ef0f0.zip |
module zabbixProxy: server is a mandatory parameter
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/monitoring/zabbix-proxy.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/zabbix-proxy.nix b/nixos/modules/services/monitoring/zabbix-proxy.nix index c1a45fba4af3..9cfcd1697c11 100644 --- a/nixos/modules/services/monitoring/zabbix-proxy.nix +++ b/nixos/modules/services/monitoring/zabbix-proxy.nix @@ -23,6 +23,7 @@ let LogType = console ListenIP = ${cfg.listen.ip} ListenPort = ${toString cfg.listen.port} + Server = ${cfg.server} # TODO: set to cfg.database.socket if database type is pgsql? DBHost = ${optionalString (cfg.database.createLocally != true) cfg.database.host} ${optionalString (cfg.database.createLocally != true) "DBPort = ${cfg.database.port}"} @@ -50,6 +51,13 @@ in services.zabbixProxy = { enable = mkEnableOption "the Zabbix Proxy"; + server = mkOption { + type = types.str; + description = '' + The IP address or hostname of the Zabbix server to connect to. + ''; + }; + package = mkOption { type = types.package; default = |