ansible-zabbix/zabbix-server/templates/zabbix.conf.php.j2

21 lines
549 B
Plaintext
Raw Normal View History

2017-01-17 17:59:08 +01:00
<?php
// Zabbix GUI configuration file
global $DB;
$DB['TYPE'] = '{{ database_type_long|upper() }}';
$DB['SERVER'] = '{{ server_dbhost }}';
$DB['PORT'] = '0';
$DB['DATABASE'] = '{{ server_dbname }}';
$DB['USER'] = '{{ server_dbuser }}';
$DB['PASSWORD'] = '{{ server_dbpassword }}';
// SCHEMA is relevant only for IBM_DB2 database
$DB['SCHEMA'] = '';
$ZBX_SERVER = '{{ ansible_nodename }}';
$ZBX_SERVER_PORT = '{{ server_listenport }}';
$ZBX_SERVER_NAME = '{{ ansible_nodename }}';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>