zabbixProxy
services.zabbixProxy.database.createLocally
Whether to create a local database automatically.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.host
Database host address.
Type: string
Default
"localhost"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.name
Database name.
Type: string
Default
zabbix
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.passwordFile
A file containing the password corresponding to
{option}database.user
.
Type: null or path
Default
null
Example
"/run/keys/zabbix-dbpassword"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.port
Database host port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
if config.services.zabbixProxy.database.type == "mysql"then config.services.mysql.portelse config.services.postgresql.settings.port
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.socket
Path to the unix socket file to use for authentication.
Type: null or path
Default
null
Example
"/run/postgresql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.type
Database engine to use.
Type: one of "mysql", "pgsql", "sqlite"
Default
"pgsql"
Example
"mysql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.database.user
Database user.
Type: string
Default
"zabbix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.enable
Whether to enable the Zabbix Proxy.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.extraPackages
Packages to be added to the Zabbix {env}PATH
.
Typically used to add executables for scripts, but can be anything.
Type: list of package
Default
[ nettools nmap traceroute ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.listen.ip
List of comma delimited IP addresses that the trapper should listen on. Trapper will listen on all network interfaces if this parameter is missing.
Type: string
Default
"0.0.0.0"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.listen.port
Listen port for trapper.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
10051
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.modules
A set of modules to load.
Type: attribute set of package
Default
{ }
Example
{"dummy.so" = pkgs.stdenv.mkDerivation {name = "zabbix-dummy-module-${cfg.package.version}";src = cfg.package.src;buildInputs = [ cfg.package ];sourceRoot = "zabbix-${cfg.package.version}/src/modules/dummy";installPhase = '' mkdir -p $out/lib cp dummy.so $out/lib/ '';};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.openFirewall
Open ports in the firewall for the Zabbix Proxy.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.package
The Zabbix package to use.
Type: package
Default
pkgs.zabbix.proxy-pgsql
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.server
The IP address or hostname of the Zabbix server to connect to.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix
services.zabbixProxy.settings
Zabbix Proxy configuration. Refer to https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_proxy for details on supported values.
Type: attribute set of (signed integer or string or list of string)
Default
{ }
Example
{CacheSize = "1G";SSHKeyLocation = "/var/lib/zabbix/.ssh";StartPingers = 32;}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-proxy.nix