templating a couple of values

This commit is contained in:
meaz 2023-08-07 08:12:58 +02:00
parent b086096fdd
commit 42d6952f2b
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4

View file

@ -30,8 +30,12 @@ $DB['VAULT_TOKEN'] = '';
$DB['DOUBLE_IEEE754'] = true;
// Uncomment and set to desired values to override Zabbix hostname/IP and port.
// $ZBX_SERVER = '{{ zabbix_server_hostname }}';
// $ZBX_SERVER_PORT = '{{ zabbix_server_listen_port }}';
{% if zabbix_server_hostname is defined %}
$ZBX_SERVER = '{{ zabbix_server_hostname }}';
{% endif %}
{% if zabbix_server_listen_port is defined %}
$ZBX_SERVER_PORT = '{{ zabbix_server_listen_port }}'
{% endif %}
$ZBX_SERVER_NAME = '{{ zabbix_server_name }}';