Skip to content

Commit

Permalink
[+] Added zabbix_server_startlldprocessors var for ZBX Server (#361)
Browse files Browse the repository at this point in the history
* [+] Added zabbix_server_startlldprocessors var for ZBX Server
  • Loading branch information
cardinalit authored Apr 16, 2021
1 parent 8ca6816 commit 7c8bbe6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/zabbix_server/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ zabbix_server_historystoragedateindex: 0
zabbix_server_exportdir:
zabbix_server_exportfilesize: 1G
zabbix_server_startpollers: 5
zabbix_server_startlldprocessors: 2
zabbix_server_startipmipollers: 0
zabbix_server_startpollersunreachable: 1
zabbix_server_starttrappers: 5
Expand Down
11 changes: 10 additions & 1 deletion roles/zabbix_server/templates/zabbix_server.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ StartPollers={{ zabbix_server_startpollers }}
#
StartIPMIPollers={{ zabbix_server_startipmipollers }}

{% if zabbix_version is version('4.2', '>=') %}
### option: StartLLDProcessors
# Number of pre-forked instances of low-level discovery (LLD) workers.
# The LLD manager process is automatically started when an LLD worker is started.
# This parameter is supported since Zabbix 4.2.0.
#
StartLLDProcessors={{ zabbix_server_startlldprocessors }}
{% endif %}

{% if zabbix_version is version('4.2', '>=') %}
### Option: StartPreprocessors
# Number of pre-forked instances of preprocessing workers.
Expand Down Expand Up @@ -660,4 +669,4 @@ DBTLSCipher={{ zabbix_server_dbtlscipher }}
# DBTLSCipher13=
{% if zabbix_server_dbtlscipher13 is defined and zabbix_server_dbtlscipher13 is not none %}
DBTLSCipher13={{ zabbix_server_dbtlscipher13 }}
{% endif %}
{% endif %}

0 comments on commit 7c8bbe6

Please sign in to comment.