Anyone has gotten Zabbix to work in FreeBSD with Postgresql?
Installed Zabbix from ports and selected Postgresql
(the port has option for mysql or postgresql).
Made zabbix DB and populated with the schema from the "postgresql"
directory in the Zabbix tree.
Edited /usr/local/etc/zabbix/zabbix_server.conf to point
to the proper DB, however don't see a way to tell it that
it will be connecting to a Postgresql database. I see a note
on the bottom about msyql socket.. so I am wondering if it
is trying to connect to a mysql DB.
I configure a virtual host in apache for the web interface.
Changed zabbix/php/include/db.inc.php to indicate I am using
postgresql.
When I try to login with "Admin" it shows:
[ERROR:Login name or password is incorrect]
Looked at the apache logs for any errors, and there were none.
Am I missing any steps besides editing zabbix/php/include/db.inc.php and /usr/local/etc/zabbix/zabbix_server.conf?
Any help would be greatly appreciated.
Installed Zabbix from ports and selected Postgresql
(the port has option for mysql or postgresql).
Made zabbix DB and populated with the schema from the "postgresql"
directory in the Zabbix tree.
Edited /usr/local/etc/zabbix/zabbix_server.conf to point
to the proper DB, however don't see a way to tell it that
it will be connecting to a Postgresql database. I see a note
on the bottom about msyql socket.. so I am wondering if it
is trying to connect to a mysql DB.
I configure a virtual host in apache for the web interface.
Changed zabbix/php/include/db.inc.php to indicate I am using
postgresql.
When I try to login with "Admin" it shows:
[ERROR:Login name or password is incorrect]
Looked at the apache logs for any errors, and there were none.
Am I missing any steps besides editing zabbix/php/include/db.inc.php and /usr/local/etc/zabbix/zabbix_server.conf?
Any help would be greatly appreciated.
Comment