Kind of linux/unix noob here but anyhow.... After much battling with installing zabbix 1.4.5.1, mysql, apache, php from ports on freebsd 6.2, and getting everything up and running, I would prefer to use postgresql for db. I would like to know how to configure the /usr/local/etc/zabbix/zabbix_server.conf file to point to postgres server, and when that is working I can change the host postgres is on. I cant seem to find much on this anywhere.
Here is the end of the config file:
DBHost=localhost
# Database name
# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
DBName=zabbix
# Database user
DBUser=zabbix
# Database password
# Comment this line if no password used
DBPassword=zabbix
# Connect to MySQL using Unix socket?
#DBSocket=/tmp/mysql.sock
Here is the end of the config file:
DBHost=localhost
# Database name
# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
DBName=zabbix
# Database user
DBUser=zabbix
# Database password
# Comment this line if no password used
DBPassword=zabbix
# Connect to MySQL using Unix socket?
#DBSocket=/tmp/mysql.sock
Comment