( rattila | 2023. 03. 30., cs – 18:28 )

1. A DBHost az default a localhost.

2+3:
root@tarthost:/home/rattila# mkdir zabbixdump
root@tarthost:/home/rattila# ./zabbix
zabbix-config-dump  zabbix-dump.sh      
zabbixdump/         zabbix-install/     
root@tarthost:/home/rattila# ./zabbix-config-dump -t psql -o zabbixdump -n -z /etc/zabbix/zabbix_server.conf
Reading database options from /etc/zabbix/zabbix_server.conf...
Configuration:
 - type:     psql
 - socket:   /var/run/postgresql/.s.PGSQL.5432
 - database: zabbix
 - user:     zabbix
 - output:   zabbixdump
Fetching list of existing tables...
ERROR while trying to access database:
psql: error: could not connect to server: Nem könyvtár
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432/.s.PGSQL.5432"?
root@tarthost:/home/rattila# 

A conf-ban a localhost miatt nem módosítottam semmit ...