Debian Codegraph @

ansible_collections/community/zabbix/roles/zabbix_proxy/README.md

raw
1 # community.zabbix.zabbix_proxy role
2
3 ![Zabbix Proxy](https://github.com/ansible-collections/community.zabbix/workflows/community.zabbix.zabbix_proxy/badge.svg)
4
5 **Table of Contents**
6
7 - [Overview](#overview)
8 * [Operating systems](#operating-systems)
9 * [Zabbix Versions](#zabbix-versions)
10 - [Role Variables](#role-variables)
11 * [Main variables](#main-variables)
12 + [Overall Zabbix](#overall-zabbix)
13 + [SElinux](#selinux)
14 + [Zabbix Proxy](#zabbix-proxy)
15 + [Database specific](#database-specific)
16 + [TLS Specific configuration](#tls-specific-configuration)
17 * [proxy](#proxy)
18 * [Database](#database)
19 + [MySQL](#mysql)
20 - [Local Setup](#local-setup)
21 - [Separate Setup](#separate-setup)
22 + [PostgreSQL](#postgresql)
23 - [Local Setup](#local-setup-1)
24 - [Separate Setup](#separate-setup-1)
25 + [SQLite3](#sqlite3)
26 * [Zabbix API variables](#zabbix-api-variables)
27 - [Example Playbook](#example-playbook)
28 - [Molecule](#molecule)
29 - [License](#license)
30 - [Author Information](#author-information)
31
32 # Overview
33
34 ## Operating systems
35
36 This role will work on the following operating systems:
37
38 * Red Hat
39 * Debian
40 * Ubuntu
41
42 So, you'll need one of those operating systems.. :-)
43 Please send Pull Requests or suggestions when you want to use this role for other Operating systems.
44
45 # Requirements
46 ## Ansible 2.10 and higher
47
48 With the release of Ansible 2.10, modules have been moved into collections. With the exception of ansible.builtin modules, this means additonal collections must be installed in order to use modules such as seboolean (now ansible.posix.seboolean). The following collection is now required: `ansible.posix`. Installing the collection:
49
50 ```sh
51 ansible-galaxy collection install ansible.posix
52 ```
53
54 If you are willing to create proxy in Zabbix via API as a part of this role execution then you need to install `ansible.netcommon` collection too:
55
56 ```
57 ansible-galaxy collection install ansible.netcommon
58 ```
59
60 ### MySQL
61
62 When you are a MySQL user and using Ansible 2.10 or newer, then there is a dependency on the collection named `community.mysql`. This collections are needed as the `mysql_` modules are now part of collections and not standard in Ansible anymmore. Installing the collection:
63
64 ```sh
65 ansible-galaxy collection install community.mysql
66 ```
67
68 ### PostgreSQL
69
70 When you are a PostgreSQL user and using Ansible 2.10 or newer, then there is a dependency on the collection named `community.postgresql`. This collections are needed as the `postgresql_` modules are now part of collections and not standard in Ansible anymmore. Installing the collection:
71
72 ```sh
73 ansible-galaxy collection install community.postgresql
74 ```
75
76 ## Zabbix Versions
77
78 See the following list of supported Operating systems with the Zabbix releases.
79
80 | Zabbix | 7.4 | 7.2 | 7.0 | 6.0 |
81 |---------------------|-----|-----|-----|-----|
82 | Red Hat Fam 9 | V | V | V | V |
83 | Red Hat Fam 8 | V | V | V | V |
84 | Ubuntu 24.04 noble | V | V | V | V |
85 | Ubuntu 22.04 jammy | V | V | V | V |
86 | Debian 12 bookworm | V | V | V | V |
87 | Debian 11 bullseye | V | V | V | V |
88 | Suse Fam 15 | V | V | V | V |
89
90 You can bypass this matrix by setting `enable_version_check: false`
91
92 # Role Variables
93
94 ## Main variables
95
96 The following is an overview of all available configuration default for this role.
97
98 ### Zabbix Proxy
99
100 * `zabbix_proxy_version`: Optional. The latest available major.minor version of Zabbix will be installed on the host(s). If you want to use an older version, please specify this in the major.minor format. Example: `zabbix_proxy_version: 6.0`.
101 * `zabbix_proxy_version_minor`: When you want to specify a minor version to be installed. RedHat only. Default set to: `*` (latest available)
102 * `zabbix_proxy_ip`: The IP address of the host. When not provided, it will be determined via the `ansible_default_ipv4` fact, with a fallback to the first available IP address.
103 * `zabbix_proxy_server`: The ip or dns name for the zabbix-server machine.
104 * `zabbix_proxy_install_database_client`: Default: `True`. False does not install database client.
105 * `zabbix_proxy_manage_service`: Default: `True`. When you run multiple Zabbix proxies in a High Available cluster setup (e.g. pacemaker), you don't want Ansible to manage the zabbix-proxy service, because Pacemaker is in control of zabbix-proxy service.
106 * `zabbix_proxy_include_mode`: Default: `0755`. The "mode" for the directory configured with `zabbix_proxy_include`.
107 * `zabbix_proxy_conf_mode`: Default: `0644`. The "mode" for the Zabbix configuration file.
108 * `zabbix_manage_repo`: Have the collection install and configure the Zabbix repo Default `true`.
109
110 ### Database specific
111
112 * `zabbix_proxy_dbhost_run_install`: Default: `True`. When set to `True`, sql files will be executed on the host running the database.
113 * `zabbix_proxy_database`: Default: `mysql`. The type of database used. Can be: `mysql`, `pgsql` or `sqlite3`
114 * `zabbix_proxy_dbhost`: Default: localhost. The hostname on which the database is running. Will be ignored when `sqlite3` is used as database.
115 * `zabbix_proxy_real_dbhost`: The hostname of the dbhost that is running behind a loadbalancer/VIP (loadbalancers doesn't accept ssh connections) Will be ignored when `sqlite3` is used as database.
116 * `zabbix_proxy_dbname`: Default: zabbix_proxy. The database name which is used by the Zabbix Proxy.
117 * `zabbix_proxy_dbuser`: Default: zabbix_proxy. The database username which is used by the Zabbix Proxy. Will be ignored when `sqlite3` is used as database.
118 * `zabbix_proxy_dbpassword`: Default: zabbix_proxy. The database user password which is used by the Zabbix Proxy. Will be ignored when `sqlite3` is used as database.
119 * `zabbix_proxy_dbpassword_hash_method`: Default: `md5`. Allow switching postgresql user password creation to `scram-sha-256`, when anything other than `md5` is used then ansible won't hash the password with `md5`.
120 * `zabbix_proxy_dbport`: The database port which is used by the Zabbix Proxy. Will be ignored when `sqlite3` is used as database.
121 * `zabbix_proxy_database_creation`: Default: `True`. When you don't want to create the database including user, you can set it to False.
122 * `zabbix_proxy_install_database_client`: Default: `True`. False does not install database client. Default true
123 * `zabbix_proxy_database_sqlload`:True / False. When you don't want to load the sql files into the database, you can set it to False.
124 * `zabbix_proxy_dbencoding`: Default: `utf8`. The encoding for the MySQL database.
125 * `zabbix_proxy_dbcollation`: Default: `utf8_bin`. The collation for the MySQL database.zabbix_proxy_
126
127
128 ### Yum/APT
129 * `zabbix_repo_yum`: A list with Yum repository configuration.
130 * `zabbix_repo_yum_schema`: Default: `https`. Option to change the web schema for the yum repository(http/https)
131 * `zabbix_proxy_disable_repo`: A list of repos to disable during install. Default `epel`.
132 * `zabbix_proxy_package_state`: Default: `present`. Can be overridden to `latest` to update packages
133 * `zabbix_repo_deb_url`: The URL to the Zabbix repository. Default `http://repo.zabbix.com/zabbix/{{ zabbix_proxy_version }}/{{ ansible_distribution.lower() }}`
134 * `zabbix_repo_deb_component`: The repository component for Debian installs. Default `main`.
135 * `zabbix_repo_deb_gpg_key_url`: The URL to download the Zabbix GPG key from. Default `http://repo.zabbix.com/zabbix-official-repo.key`.
136 * `zabbix_repo_deb_include_deb_src`: True, if deb-src should be included in the zabbix.sources entry. Default `true`.
137
138 ### SElinux
139
140 Selinux changes will be installed based on the status of selinux running on the target system.
141
142 * `selinux_allow_zabbix_can_network`: Default: `True`.
143
144 ## Proxy
145
146 When the target host does not have access to the internet, but you do have a proxy available then the following properties needs to be set to download the packages via the proxy:
147
148 * `zabbix_http_proxy`
149 * `zabbix_https_proxy`
150
151 ## Database
152
153 With Zabbix Proxy you can make use of 2 different databases:
154
155 * MySQL
156 * PostgreSQL
157 * SQLite3
158
159 In the following paragraphs we dive into both setups.
160
161 ### MySQL
162
163 To make the Zabbix Proxy work with a `MySQL` database, there are 2 types on setup:
164
165 1. Local setup, `MySQL` running on same host as the Zabbix Proxy;
166 2. Separate setup, `MySQL` running on a different host than the Zabbix Proxy.
167
168 #### Local Setup
169
170 We need to have the following dependencies met:
171
172 1. Find an (Ansible) role that will install a `MySQL` instance on the host. Example: `geerlingguy.mysql` can be used, but also others can be used. Please make sure that before installing the Zabbix Proxy, you have a fully functional `MySQL` instance running.
173 2. We need to set some variables, either as input for the playbook or set them into the `group_vars` or `host_vars` (Your preference choice). We need to set the following properties:
174
175 ```yaml
176 zabbix_proxy_database: mysql
177 zabbix_proxy_dbport: 3306
178 zabbix_proxy_dbpassword: <SOME_SECRET_STRING>
179 ```
180
181 Please generate a value for the `zabbix_proxy_dbpassword` property (Maybe use `ansible-vault` for this). The zabbix-proxy role will create an database and username (With the provided value for the password) in `MySQL`.
182
183 3. Execute the role by running the Ansible playbook that calls this role. At the end of this run, the Zabbix Proxy with `MySQL` will be running.
184
185 #### Separate Setup
186
187 We need to have the following dependencies met:
188
189 1. We need to either have a `MySQL` instance running somewhere in the environment. If this is the case, we need to have a username/password combination that is allowed to create a database and an user account. If there isn't one, please make sure there is one.
190 2. We need to set some variables, either as input for the playbook or set them into the `group_vars` or `host_vars` (Your preference choice). We need to set the following properties:
191
192 ```yaml
193 zabbix_proxy_database: mysql
194 zabbix_proxy_dbport: 3306
195 zabbix_proxy_dbhost: mysql-host
196 zabbix_proxy_dbhost_run_install: false
197 zabbix_proxy_dbpassword: <SOME_SECRET_STRING>
198 zabbix_proxy_privileged_host: '%'
199 zabbix_proxy_mysql_login_host: mysql-host
200 zabbix_proxy_mysql_login_user: root
201 zabbix_proxy_mysql_login_password: changeme
202 zabbix_proxy_mysql_login_port: 3306
203 ```
204
205 Please generate a value for the `zabbix_proxy_dbpassword` property (Maybe use `ansible-vault` for this). The zabbix-proxy role will create an database and username (With the provided value for the password) in `MySQL`.
206
207 The `zabbix_proxy_privileged_host` can be set to the hostname/ip of the host running Zabbix Proxy for security related purposes. Also make sure that `zabbix_proxy_mysql_login_password` is set to the correct password for the user provided with `zabbix_proxy_mysql_login_host` to create a database and user in the `MySQL` instance.
208
209 3. Execute the role by running the Ansible playbook that calls this role. At the end of this run, the Zabbix Proxy with `MySQL` on a different host will be running.
210
211 ### PostgreSQL
212
213 To make the Zabbix Proxy work with a `PgSQL` database, there are 2 types on setup:
214
215 1. Local setup, `PgSQL` running on same host as the Zabbix Proxy;
216 2. Separate setup, `PgSQL` running on a different host than the Zabbix Proxy.
217
218 #### Local Setup
219
220 We need to have the following dependencies met:
221
222 1. Find an (Ansible) role that will install a `PgSQL` instance on the host. Example: `geerlingguy.postgresql` can be used, but also others can be used. Please make sure that before installing the Zabbix Proxy, you have a fully functional `PgSQL` instance running.
223 2. We need to set some variables, either as input for the playbook or set them into the `group_vars` or `host_vars` (Your preference choice). We need to set the following properties:
224
225 ```yaml
226 zabbix_proxy_database: pgsql
227 zabbix_proxy_dbport: 5432
228 zabbix_proxy_dbpassword: <SOME_SECRET_STRING>
229 ```
230
231 Please generate a value for the `zabbix_proxy_dbpassword` property (Maybe use `ansible-vault` for this). The zabbix-proxy role will create an database and username (With the provided value for the password) in `PgSQL`.
232 3. Execute the role by running the Ansible playbook that calls this role. At the end of this run, the Zabbix Proxy with `PgSQL` will be running.
233
234 #### Separate Setup
235
236 We need to have the following dependencies met:
237
238 1. We need to either have a `PgSQL` instance running somewhere in the environment. If this is the case, we need to have a username/password combination that is allowed to create a database and an user account. If there isn't one, please make sure there is one.
239 2. We need to set some variables, either as input for the playbook or set them into the `group_vars` or `host_vars` (Your preference choice). We need to set the following properties:
240
241 ```yaml
242 zabbix_proxy_database: pgsql
243 zabbix_proxy_dbport: 5432
244 zabbix_proxy_dbhost: pgsql-host
245 zabbix_proxy_dbhost_run_install: false
246 zabbix_proxy_dbpassword: <SOME_SECRET_STRING>
247 zabbix_proxy_privileged_host: '%'
248 zabbix_proxy_pgsql_login_host: pgsql-host
249 zabbix_proxy_pgsql_login_user: postgres
250 zabbix_proxy_pgsql_login_password: changeme
251 zabbix_proxy_pgsql_login_port: 5432
252 ```
253
254 Please generate a value for the `zabbix_proxy_dbpassword` property (Maybe use `ansible-vault` for this). The zabbix-proxy role will create an database and username (With the provided value for the password) in `PgSQL`.
255
256 The `zabbix_proxy_privileged_host` can be set to the hostname/ip of the host running Zabbix Proxy for security related purposes. Also make sure that `zabbix_proxy_mysql_login_password` is set to the correct password for the user provided with `zabbix_proxy_mysql_login_host` to create a database and user in the `PgSQL` instance.
257
258 3. Execute the role by running the Ansible playbook that calls this role. At the end of this run, the Zabbix Proxy with `PgSQL` on a different host will be running.zabbix_proxy_
259
260 ### SQLite3
261
262 The SQLite3 can only be used on the same host as on which the Zabbix Proxy is running. If you want to use a seperate host for running the database for the proxy, please consider going for MySQL or PostGreSQL.
263
264 The following properties needs to be set when using `SQLite3` as the database:
265
266 ```yaml
267 zabbix_proxy_database: sqlite3
268 zabbix_proxy_dbname: /path/to/sqlite3.db
269 ```
270
271 NOTE: When using `zabbix_proxy_dbname: zabbix_proxy` (Which is default with this role), it will automatically be stored on `/var/lib/zabbix/zabbix_proxy.db`
272
273 ## Zabbix API variables
274
275 These variables need to be overridden when you want to make use of the Zabbix API for automatically creating and or updating proxies, i.e. when `zabbix_api_create_proxy` is set to `True`.
276
277 * `zabbix_api_server_host`: The IP or hostname/FQDN of Zabbix server. Example: zabbix.example.com
278 * `zabbix_api_use_ssl`: Is SSL required to connect to the Zabbix API server? Default: `false`
279 * `zabbix_api_server_port`: 80 if `zabbix_api_use_ssl` is `false` and 443 if `true` (Default) TCP port to use to connect to Zabbix server. Example: 8080
280 * `zabbix_api_login_user`: Username of user which has API access.
281 * `zabbix_api_login_pass`: Password for the user which has API access.
282 * `zabbix_api_http_user`: The http user to access zabbix url with Basic Auth (if your Zabbix is behind a proxy with HTTP Basic Auth).
283 * `zabbix_api_http_password`: The http password to access zabbix url with Basic Auth (if your Zabbix is behind a proxy with HTTP Basic Auth).
284 * `zabbix_api_validate_certs`: yes (Default) if we need to validate tls certificates of the API. Use `no` in case self-signed certificates are used.
285 * `zabbix_api_timeout`: timeout for API calls (default to 30 seconds)
286 * `ansible_zabbix_url_path`: URL path if Zabbix WebUI running on non-default (zabbix) path, e.g. if http://<FQDN>/zabbixeu then set to `zabbixeu`
287 * `zabbix_api_create_proxy`: When you want to enable the Zabbix API to create/delete the proxy. This has to be set to `True` if you want to make use of `zabbix_proxy_state`. Default: `False`
288 * `zabbix_proxy_name`: name of the Zabbix proxy as it is seen by Zabbix server
289 * `zabbix_proxy_state`: present (Default) if the proxy needs to be created or absent if you want to delete it. This only works when `zabbix_api_create_proxy` is set to `True`.
290 * `zabbix_proxy_status`: active (Default) if the proxy needs to be active or passive.
291 * `zabbix_api_create_proxy_group`: When you want to enable the Zabbix API to create/delete the proxy group. This has to be set to `True` if you want to make use of `zabbix_proxy_group_state`. Is using the same API connectivity options as `zabbix_api_create_proxy`. Default: `False`. Version 7.0 or Greater.
292 * `zabbix_proxy_group_name`: Name of the Zabbix proxy group as it is seen by Zabbix server. Version 7.0 or Greater.
293 * `zabbix_proxy_group_state`: Present (Default) if the proxy group needs to be created or absent if you want to delete it. This only works when `zabbix_api_create_proxy_group` is set to `True`. The Zabbix proxy this variable is used together with, will be automatically assigned to that `zabbix_proxy_group_name` proxy group. Version 7.0 or Greater.
294 * `zabbix_proxy_group_description`: Zabbix proxy group description. Default `omit`. Version 7.0 or Greater.
295 * `zabbix_proxy_group_failover_delay`: Failover period for each proxy in the group to have online/offline state. Default `1m`. Version 7.0 or Greater.
296 * `zabbix_proxy_group_min_online`: Minimum number of online proxies required for the group to be online. Possible values range: 1-1000. Default `1`. Version 7.0 or Greater.
297
298 ## Configuration Variables
299
300 The following table lists all variables that are exposed to modify the configuration of the zabbix_proxy.conf file. Specific details of each variable can be found in the Zabbix documentation.
301
302 **NOTE**: Only variables with a default value appear in the defaults file, all others must be added.
303
304 | Zabbix Name | Variable Name | Default Value |Notes |
305 |-----------|------------------|--------|--------|
306 | AllowRoot | zabbix_proxy_allowroot | `False` | `True`/`False` |
307 | AllowUnsupportedDBVersions | zabbix_proxy_allowunsupporteddbversions | `False` | `True`/`False` |
308 | CacheSize | zabbix_proxy_cachesize | 32M | |
309 | ConfigFrequency | zabbix_proxy_configfrequency | 3600 | Being deprecated. In conflict with ProxyConfigFrequency. |
310 | DataSenderFrequency | zabbix_proxy_datasenderfrequency | 1 | |
311 | DBHost | zabbix_proxy_dbhost | localhost| |
312 | DBName | zabbix_proxy_dbname | zabbix_proxy| |
313 | DBPassword | zabbix_proxy_dbpassword | zabbix_proxy| |
314 | DBPort | zabbix_proxy_dbport | Varies by database | |
315 | DBSchema | zabbix_proxy_dbschema |public| |
316 | DBSocket | zabbix_proxy_dbsocket || |
317 | DBTLSCAFile | zabbix_proxy_dbtlscafile || |
318 | DBTLSCertFile | zabbix_proxy_dbtlscertfile || |
319 | DBTLSCipher | zabbix_proxy_dbtlscipher || |
320 | DBTLSCipher13 | zabbix_proxy_dbtlscipher13 || |
321 | DBTLSConnect | zabbix_proxy_dbtlsconnect || |
322 | DBTLSKeyFile | zabbix_proxy_dbtlskeyfile || |
323 | DBUser | zabbix_proxy_dbuser | zabbix_proxy| |
324 | DebugLevel | zabbix_proxy_debuglevel |3| |
325 | EnableRemoteCommands | zabbix_proxy_enableremotecommands | `False` | `True`/`False` |
326 | ExternalScripts | zabbix_proxy_externalscripts | /usr/lib/zabbix/externalscripts| |
327 | Fping6Location | zabbix_proxy_fping6location | OS Specific Value | |
328 | FpingLocation | zabbix_proxy_fpinglocation | OS Specific Value | |
329 | HeartbeatFrequency | zabbix_proxy_heartbeatfrequency |60| Version 6.0 |
330 | HistoryCacheSize | zabbix_proxy_historycachesize | 16M| |
331 | HistoryIndexCacheSize | zabbix_proxy_historyindexcachesize | 4M| |
332 | Hostname | zabbix_proxy_hostname | "{{ inventory_hostname }}"| |
333 | HostnameItem | zabbix_proxy_hostnameitem || |
334 | HousekeepingFrequency | zabbix_proxy_housekeepingfrequency |1| |
335 | Include | zabbix_proxy_include | /etc/zabbix/zabbix_proxy.conf.d/*.conf | |
336 | JavaGateway | zabbix_proxy_javagateway || |
337 | JavaGatewayPort | zabbix_proxy_javagatewayport |10052| |
338 | ListenBacklog | zabbix_proxy_listenbacklog || |
339 | ListenIP | zabbix_proxy_listenip |0.0.0.0 | |
340 | ListenPort | zabbix_proxy_listenport |10051| |
341 | LoadModule | zabbix_proxy_loadmodule || |
342 | LoadModulePath | zabbix_proxy_loadmodulepath | /usr/lib/zabbix/modules| |
343 | LogFile | zabbix_proxy_logfile | /var/log/zabbix/zabbix_proxy.log| |
344 | LogFileSize | zabbix_proxy_logfilesize |10| |
345 | LogRemoteCommands | zabbix_proxy_logremotecommands | `False` | `True`/`False` |
346 | LogSlowQueries | zabbix_proxy_logslowqueries | 0 | |
347 | LogType | zabbix_proxy_logtype | file| |
348 | MaxConcurrentChecksPerPoller | zabbix_proxy_maxconcurrentchecksperpoller | 1000 | Version 7.0 or Greater |
349 | PidFile | zabbix_proxy_pidfile | /var/run/zabbix/zabbix_proxy.pid| |
350 | ProxyBufferMode | zabbix_proxy_proxybuffermode | disk | Version 7.0 or Greater |
351 | ProxyConfigFrequency | zabbix_proxy_proxyconfigfrequency | 10 | Version 6.4 or Greater |
352 | ProxyLocalBuffer | zabbix_proxy_proxylocalbuffer |0| |
353 | ProxyMemoryBufferAge | zabbix_proxy_proxymemorybufferage | 0 | Version 7.0 or Greater |
354 | ProxyMemoryBufferSize | zabbix_proxy_proxymemorybuffersize | 0 | Version 7.0 or Greater |
355 | ProxyMode | zabbix_proxy_proxymode | 0 | `0`: Active `1`: Passive |
356 | ProxyOfflineBuffer | zabbix_proxy_proxyofflinebuffer | 1 | |
357 | Server | zabbix_proxy_server | 192.168.1.1| |
358 | SNMPTrapperFile | zabbix_proxy_snmptrapperfile | /tmp/zabbix_traps.tmp | |
359 | SocketDir | zabbix_proxy_socketdir | /var/run/zabbix | |
360 | SourceIP | zabbix_proxy_sourceip || |
361 | SSHKeyLocation | zabbix_proxy_sshkeylocation || |
362 | SSLCALocation | zabbix_proxy_sslcalocation || |
363 | SSLCertLocation | zabbix_proxy_sslcertlocation || |
364 | SSLKeyLocation | zabbix_proxy_sslkeylocation || |
365 | StartAgentPollers | zabbix_proxy_startagentpollers | 1 | Version 7.0 or Greater |
366 | StartBrowserPollers | zabbix_proxy_startbrowserpollers | 1 | Version 7.0 or Greater |
367 | StartDBSyncers | zabbix_proxy_startdbsyncers |4| |
368 | StartDiscoverers | zabbix_proxy_startdiscoverers |1| |
369 | StartHistoryPollers | zabbix_proxy_starthistorypollers | 1 | Version 6.0 |
370 | StartHTTPAgentPollers | zabbix_proxy_starthttpagentpollers | 1 | Version 7.0 or Greater |
371 | StartHTTPPollers | zabbix_proxy_starthttppollers |1| |
372 | StartIPMIPollers | zabbix_proxy_startipmipollers |0| |
373 | StartJavaPollers | zabbix_proxy_startjavapollers |0 | |
374 | StartODBCPollers | zabbix_proxy_startodbcpollers |1| |
375 | StartPingers | zabbix_proxy_startpingers |1| |
376 | StartPollers | zabbix_proxy_startpollers |5| |
377 | StartPollersUnreachable | zabbix_proxy_startpollersunreachable |1| |
378 | StartPreprocessors | zabbix_proxy_startpreprocessors |3| |
379 | StartSNMPPollers | zabbix_proxy_startsnmppollers | 1 | Version 7.0 or Greater |
380 | StartSNMPTrapper | zabbix_proxy_startsnmptrapper | 0 | |
381 | StartTrappers | zabbix_proxy_starttrappers |5| |
382 | StartVMwareCollectors | zabbix_proxy_startvmwarecollectors | 0 | |
383 | StatsAllowedIP | zabbix_proxy_statsallowedip | "127.0.0.1"| |
384 | Timeout | zabbix_proxy_timeout |3| |
385 | TLSAccept | zabbix_proxy_tlsaccept || |
386 | TLSCAFile | zabbix_proxy_tlscafile || |
387 | TLSCertFile | zabbix_proxy_tlscertfile || |
388 | TLSCipherAll | zabbix_proxy_tlscipherall || |
389 | TLSCipherAll13 | zabbix_proxy_tlscipherall13 || |
390 | TLSCipherCert | zabbix_proxy_tlsciphercert || |
391 | TLSCipherCert13 | zabbix_proxy_tlsciphercert13 || |
392 | TLSCipherPSK | zabbix_proxy_tlscipherpsk || |
393 | TLSCipherPSK13 | zabbix_proxy_tlscipherpsk13 || |
394 | TLSConnect | zabbix_proxy_tlsconnect || |
395 | TLSCRLFile | zabbix_proxy_tlscrlfile || |
396 | TLSKeyFile | zabbix_proxy_tlskeyfile || |
397 | TLSPSKFile | zabbix_proxy_tlspskfile || |
398 | TLSPSKIdentity | zabbix_proxy_tlspskidentity || |
399 | TLSServerCertIssuer | zabbix_proxy_tlsservercertissuer || |
400 | TLSServerCertSubject | zabbix_proxy_tlsservercertsubject || |
401 | TmpDir | zabbix_proxy_tmpdir | /tmp| |
402 | TrapperTimeout | zabbix_proxy_trappertimeout |300| |
403 | UnavailableDelay | zabbix_proxy_unavailabledelay | 60| |
404 | UnreachableDelay | zabbix_proxy_unreachabledelay | 15 | |
405 | UnreachablePeriod | zabbix_proxy_unreachableperiod | 45| |
406 | User | zabbix_proxy_user | zabbix | |
407 | Vault | zabbix_proxy_vault || Version 6.2 or Greater |
408 | VaultDBPath | zabbix_proxy_vaultdbpath || |
409 | VaultPrefix | zabbix_proxy_vaultprefix || Version 7.0 or Greater |
410 | VaultTLSCertFile | zabbix_proxy_vaulttlscertfile || Version 6.4 or Greater |
411 | VaultTLSKeyFile | zabbix_proxy_vaulttlskeyfile || Version 6.4 or Greater |
412 | VaultToken | zabbix_proxy_vaulttoken || |
413 | VaultURL | zabbix_proxy_vaulturl |https://127.0.0.1:8200| |
414 | VMwareCacheSize | zabbix_proxy_vmwarecachesize | 8M| |
415 | VMwareFrequency | zabbix_proxy_vmwarefrequency |60| |
416 | VMwarePerfFrequency | zabbix_proxy_vmwareperffrequency | 60 | |
417 | VMwareTimeout | zabbix_proxy_vmwaretimeout | 10 | |
418 | WebDriverURL | zabbix_proxy_webdriverurl | | Version 7.0 or Greater |
419
420 ## Tags
421
422 The majority of tasks within this role are tagged as follows:
423
424 * `install`: Tasks associated with the installation of software.
425 * `dependencies`: Installation tasks related to dependencies that aren't part of the core zabbix installation.
426 * `database`: Tasks associated with the installation or configuration of the database.
427 * `api`: Tasks associated with using the Zabbix API to connect and modify the Zabbix server.
428 * `config`: Tasks associated with the configuration of Zabbix or a supporting service.
429 * `service`: Tasks associated with managing a service.
430
431 # Example Playbook
432
433 Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
434
435 ```yaml
436 - hosts: zabbix-proxy
437 roles:
438 - role: community.zabbix.zabbix_proxy
439 zabbix_proxy_server: 192.168.1.1
440 zabbix_proxy_database: mysql
441 ```
442
443 # Molecule
444
445 This role is configured to be tested with Molecule. You can find on this page some more information regarding Molecule:
446
447 * http://werner-dijkerman.nl/2016/07/10/testing-ansible-roles-with-molecule-testinfra-and-docker/
448 * http://werner-dijkerman.nl/2016/07/27/extending-ansible-role-testing-with-molecule-by-adding-group_vars-dependencies-and-using-travis-ci/
449 * http://werner-dijkerman.nl/2016/07/31/testing-ansible-roles-in-a-cluster-setup-with-docker-and-molecule/
450
451 With each Pull Request, Molecule will be executed via travis.ci. Pull Requests will only be merged once these tests run successfully.
452
453 # License
454
455 GNU General Public License v3.0 or later
456
457 See LICENCE to see the full text.
458
459 # Author Information
460
461 Please send suggestion or pull requests to make this role better. Also let us know if you encounter any issues installing or using this role.
462
463 Github: https://github.com/ansible-collections/community.zabbix