diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-07-26 18:46:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 18:46:21 -0400 |
commit | 1ab91bee656dd35974fc91e2bd0cf26cd985607f (patch) | |
tree | 27d5518136c9a4049e36a86aa2f2170a9c98b6fc /nixos | |
parent | 4e8119742062cb9b09584db7929dc03c8bc1739b (diff) | |
parent | 6e762653def5b5794c6ab75c5e55af95158ef0f0 (diff) | |
download | nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar.gz nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar.bz2 nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar.lz nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar.xz nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.tar.zst nixpkgs-1ab91bee656dd35974fc91e2bd0cf26cd985607f.zip |
Merge pull request #65418 from mmahut/proxy_server
nixos/zabbixProxy: server is a mandatory parameter
Diffstat (limited to 'nixos')
-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 c1a45fba4af..9cfcd1697c1 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 = |