Debian Codegraph @

ansible_collections/community/zabbix/roles/zabbix_web_service/templates/zabbix_web_service.conf.j2

raw
1 # This is a configuration file for Zabbix web_service
2 # To get more information about Zabbix, visit https://www.zabbix.com
3
4 ############ GENERAL PARAMETERS #################
5
6 ### Option: LogType
7 # Specifies where log messages are written to:
8 # system - syslog
9 # file - file specified with LogFile parameter
10 # console - standard output
11 #
12 # Mandatory: no
13 # Default:
14 # LogType=file
15
16 {{ (zabbix_web_service_logtype is defined and zabbix_web_service_logtype is not none) | ternary('', '# ') }}LogType={{ zabbix_web_service_logtype }}
17
18 ### Option: LogFile
19 # Log file name for LogType 'file' parameter.
20 #
21 # Mandatory: yes, if LogType is set to file, otherwise no
22 # Default:
23 # LogFile=/tmp/zabbix_web_service.log
24
25 {{ (zabbix_web_service_logfile is defined and zabbix_web_service_logfile is not none) | ternary('', '# ') }}LogFile={{ zabbix_web_service_logfile }}
26
27 ### Option: LogFileSize
28 # Maximum size of log file in MB.
29 # 0 - disable automatic log rotation.
30 #
31 # Mandatory: no
32 # Range: 0-1024
33 # Default:
34 # LogFileSize=1
35
36 {{ (zabbix_web_service_logfilesize is defined and zabbix_web_service_logfilesize is not none) | ternary('', '# ') }}LogFileSize={{ zabbix_web_service_logfilesize }}
37
38 ### Option: DebugLevel
39 # Specifies debug level:
40 # 0 - basic information about starting and stopping of Zabbix processes
41 # 1 - critical information
42 # 2 - error information
43 # 3 - warnings
44 # 4 - for debugging (produces lots of information)
45 # 5 - extended debugging (produces even more information)
46 #
47 # Mandatory: no
48 # Range: 0-5
49 # Default:
50 # DebugLevel=3
51
52 {{ (zabbix_web_service_debuglevel is defined and zabbix_web_service_debuglevel is not none) | ternary('', '# ') }}DebugLevel={{ zabbix_web_service_debuglevel }}
53
54 ### Option: AllowedIP
55 # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
56 # Incoming connections will be accepted only from the hosts listed here.
57 # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
58 # and '::/0' will allow any IPv4 or IPv6 address.
59 # '0.0.0.0/0' can be used to allow any IPv4 address.
60 # Example: AllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
61 #
62 # Mandatory: yes
63 # Default:
64 # AllowedIP=
65
66 {{ (zabbix_web_service_allowedip is defined and zabbix_web_service_allowedip is not none) | ternary('', '# ') }}AllowedIP={{ zabbix_web_service_allowedip }}
67
68 ### Option: ListenPort
69 # Service will listen on this port for connections from the server.
70 #
71 # Mandatory: no
72 # Range: 1024-32767
73 # Default:
74 # ListenPort=10053
75
76 {{ (zabbix_web_service_listenport is defined and zabbix_web_service_listenport is not none) | ternary('', '# ') }}ListenPort={{ zabbix_web_service_listenport }}
77
78 ### Option: Timeout
79 # Spend no more than Timeout seconds on formatting dashboard as PDF
80 #
81 # Mandatory: no
82 # Range: 1-30
83 # Default:
84 # Timeout=10
85
86 {{ (zabbix_web_service_timeout is defined and zabbix_web_service_timeout is not none) | ternary('', '# ') }}Timeout={{ zabbix_web_service_timeout }}
87
88 ### Option: TLSAccept
89 # What incoming connections to accept.
90 # Specifies what type of connection to use:
91 # unencrypted - accept connections without encryption
92 # cert - accept connections secured with TLS and a certificate
93 #
94 # Mandatory: no
95 # Default:
96 # TLSAccept=unencrypted
97
98 {{ (zabbix_web_service_tlsaccept is defined and zabbix_web_service_tlsaccept is not none) | ternary('', '# ') }}TLSAccept={{ zabbix_web_service_tlsaccept }}
99
100 ### Option: TLSCAFile
101 # Full pathname of a file containing the top-level CA(s) certificates for
102 # peer certificate verification.
103 #
104 # Mandatory: no
105 # Default:
106 # TLSCAFile=
107
108 {{ (zabbix_web_service_tlscafile is defined and zabbix_web_service_tlscafile is not none) | ternary('', '# ') }}TLSCAFile={{ zabbix_web_service_tlscafile }}
109
110 ### Option: TLSCertFile
111 # Full pathname of a file containing the service certificate or certificate chain.
112 #
113 # Mandatory: no
114 # Default:
115 # TLSCertFile=
116
117 {{ (zabbix_web_service_tlscertfile is defined and zabbix_web_service_tlscertfile is not none) | ternary('', '# ') }}TLSCertFile={{ zabbix_web_service_tlscertfile }}
118
119 ### Option: TLSKeyFile
120 # Full pathname of a file containing the service private key.
121 #
122 # Mandatory: no
123 # Default:
124 # TLSKeyFile=
125
126 {{ (zabbix_web_service_tlskeyfile is defined and zabbix_web_service_tlskeyfile is not none) | ternary('', '# ') }}TLSKeyFile={{ zabbix_web_service_tlskeyfile }}
127
128 ### Option: IgnoreURLCertErrors
129 # Ignore TLS certificate errors when accessing Frontend URL
130 # 0 - do not ignore
131 # 1 - ignore
132 #
133 # Mandatory: no
134 # Default:
135 # IgnoreURLCertErrors=0
136
137 {{ (zabbix_web_service_ignoreurlcerterrors is defined and zabbix_web_service_ignoreurlcerterrors is not none) | ternary('', '# ') }}IgnoreURLCertErrors={{ zabbix_web_service_ignoreurlcerterrors }}