summaryrefslogtreecommitdiff
path: root/test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2
diff options
context:
space:
mode:
authorEike Frost <ei@kefro.st>2017-12-05 20:29:12 +0100
committerSam Doran <sdoran@ansible.com>2017-12-05 14:29:12 -0500
commited376abe42885d69d2c02598ce11b68b0ee9d838 (patch)
tree68a4d6981cc74d035b500195d288354c8e8f1931 /test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2
parent750f7fe132e51e87753ce4da082fadfbae5a73bb (diff)
downloadansible-ed376abe42885d69d2c02598ce11b68b0ee9d838.tar.gz
zabbix_host integration tests (#33184)
* Integration tests for zabbix_host using Zabbix on Ubuntu 14.04. * fix duplicate yaml key in test * .changed -> is changed, |failed -> is failed, trim configfile * zabbix_host integration test does not need BOTMETA entry, inherited from module
Diffstat (limited to 'test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2')
-rw-r--r--test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2 b/test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2
new file mode 100644
index 0000000000..ad0a8328d2
--- /dev/null
+++ b/test/integration/targets/setup_zabbix/templates/zabbix.conf.php.j2
@@ -0,0 +1,20 @@
+<?php
+// Zabbix GUI configuration file
+global $DB;
+
+$DB['TYPE'] = 'MYSQL';
+$DB['SERVER'] = 'localhost';
+$DB['PORT'] = '0';
+$DB['DATABASE'] = '{{ db_name }}';
+$DB['USER'] = '{{ db_user }}';
+$DB['PASSWORD'] = '{{ db_password }}';
+
+// SCHEMA is relevant only for IBM_DB2 database
+$DB['SCHEMA'] = '';
+
+$ZBX_SERVER = 'localhost';
+$ZBX_SERVER_PORT = '10051';
+$ZBX_SERVER_NAME = '';
+
+$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
+?>