This is a translation of the original English documentation page. Help us make it better.

9 Servizio web Zabbix

Overview

Zabbix web service is a process that is used for communication with external web services.

This section lists parameters supported in Zabbix web service configuration file (zabbix_web_service.conf). Note that:

  • The default values reflect process defaults, not the values in the shipped configuration files;
  • Zabbix supports configuration files only in UTF-8 encoding without BOM;
  • Comments starting with "#" are only supported at the beginning of the line.

Parameters

Parameter Mandatory Range Default Description
AllowedIP yes List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
Incoming connections will be accepted only from the hosts listed here.
If IPv6 support is enabled then 127.0.0.1, ::127.0.0.1, ::ffff:127.0.0.1 are treated equally and ::/0 will allow any IPv4 or IPv6 address.
0.0.0.0/0 can be used to allow any IPv4 address.
Example: 127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
DebugLevel no 0-5 3 Specifies debug level:
0 - basic information about starting and stopping of Zabbix processes
1 - critical information
2 - error information
3 - warnings
4 - for debugging (produces lots of information)
5 - extended debugging (produces even more information)
ListenPort no 1024-32767 10053 The port service listens on for connections from the server.
LogFile yes, if LogType is set to file, otherwise no Log file name for LogType 'file' parameter.
Example: /tmp/zabbix_web_service.log
LogFileSize no 0-1024 1 Maximum size of log file in MB.
0 - disable automatic log rotation.
LogType no system / file / console file Specifies where log messages are written to:
system - syslog
file - file specified with LogFile parameter
console - standard output
Timeout no 1-30 3 Spend no more than Timeout seconds on processing.
TLSAccept no unencrypted / cert unencrypted Specifies what type of connection to use:
unencrypted - accept connections without encryption (default)
cert - accept connections with TLS and a certificate
TLSCAFile no Full pathname of a file containing the top-level CA(s) certificates for peer certificate verification, used for encrypted communications between Zabbix components.
TLSCertFile no Full pathname of a file containing the service certificate or certificate chain, used for encrypted communications with Zabbix components.
TLSKeyFile no Full pathname of a file containing the service private key used for encrypted communications with Zabbix components.