zabbixServer
services.zabbixServer.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-server.nix
services.zabbixServer.database.host
Database host address.
Type: string
Default
"localhost"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.database.name
Database name.
Type: string
Default
"zabbix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.database.port
Database host port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
if config.services.zabbixServer.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-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.database.type
Database engine to use.
Type: one of "mysql", "pgsql"
Default
"pgsql"
Example
"mysql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.database.user
Database user.
Type: string
Default
"zabbix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.enable
Whether to enable the Zabbix Server.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.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-server.nix
services.zabbixServer.openFirewall
Open ports in the firewall for the Zabbix Server.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.package
The Zabbix package to use.
Type: package
Default
pkgs.zabbix.server-pgsql
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/zabbix-server.nix
services.zabbixServer.settings
Zabbix Server configuration. Refer to https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_server 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-server.nix