We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da8100 commit eb3ffe1Copy full SHA for eb3ffe1
templates/web/zabbix.conf.php.erb
@@ -15,8 +15,12 @@ $DB['DATABASE'] = '<%= @database_name %>';
15
$DB['USER'] = '<%= @database_user %>';
16
$DB['PASSWORD'] = '<%= @database_password %>';
17
18
-// SCHEMA is relevant only for IBM_DB2 database
+// SCHEMA is relevant only for IBM_DB2 and PostgreSQL database
19
+<% if @database_schema -%>
20
+$DB['SCHEMA'] = '<%= @database_schema %>';
21
+<% else -%>
22
$DB['SCHEMA'] = '';
23
+<% end -%>
24
25
$ZBX_SERVER = '<%= @zabbix_server %>';
26
$ZBX_SERVER_PORT = '<%= @zabbix_listenport %>';
0 commit comments