48 lines
1.6 KiB
Django/Jinja
48 lines
1.6 KiB
Django/Jinja
<?php
|
|
// Zabbix GUI configuration file
|
|
{{ ansible_managed | comment('plain', prefix='// ') }}
|
|
global $DB;
|
|
|
|
$DB['TYPE'] = 'POSTGRESQL';
|
|
$DB['SERVER'] = 'localhost';
|
|
$DB['PORT'] = '0';
|
|
$DB['DATABASE'] = 'zabbix';
|
|
$DB['USER'] = 'zabbix';
|
|
$DB['PASSWORD'] = '{{ zabbix_pgsql_pass }}';
|
|
|
|
// Schema name. Used for PostgreSQL.
|
|
$DB['SCHEMA'] = '';
|
|
|
|
// Used for TLS connection.
|
|
$DB['ENCRYPTION'] = true;
|
|
$DB['KEY_FILE'] = '';
|
|
$DB['CERT_FILE'] = '';
|
|
$DB['CA_FILE'] = '';
|
|
$DB['VERIFY_HOST'] = false;
|
|
$DB['CIPHER_LIST'] = '';
|
|
|
|
// Vault configuration. Used if database credentials are stored in Vault secrets manager.
|
|
$DB['VAULT'] = '';
|
|
$DB['VAULT_URL'] = '';
|
|
$DB['VAULT_DB_PATH'] = '';
|
|
$DB['VAULT_TOKEN'] = '';
|
|
$DB['VAULT_CERT_FILE'] = '';
|
|
$DB['VAULT_KEY_FILE'] = '';
|
|
// Uncomment to bypass local caching of credentials.
|
|
// $DB['VAULT_CACHE'] = true;
|
|
|
|
// Use IEEE754 compatible value range for 64-bit Numeric (float) history values.
|
|
// This option is enabled by default for new Zabbix installations.
|
|
// For upgraded installations, please read database upgrade notes before enabling this option.
|
|
$DB['DOUBLE_IEEE754'] = true;
|
|
|
|
// Uncomment and set to desired values to override Zabbix hostname/IP and port.
|
|
// $ZBX_SERVER = '';
|
|
// $ZBX_SERVER_PORT = '';
|
|
|
|
$ZBX_SERVER_NAME = '';
|
|
|
|
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
|
|
|
|
?>
|