Ad Widget

Collapse

Can't install Zabbix 6.0 + Managed Postgres (by Yandex Cloud)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SlipKo
    Junior Member
    • Feb 2022
    • 2

    #1

    Can't install Zabbix 6.0 + Managed Postgres (by Yandex Cloud)

    Hello!

    I want to install Zabbix 6.0 on VM (in the Yandex Cloud (YC) ) and for DB I want to use Managed PostgreSQL by YC. But for connect to YC PSQL Cluster application need to use CA.crt from ~/.postgresql/root.crt.

    After install zabbix packages on Debian 11 I open "web setup page" and go to page "Configure DB connection". But zabbix couldn't connect to PSQL cluster:

    Click image for larger version

Name:	Снимок экрана 2022-02-22 в 17.33.52.png
Views:	283
Size:	53.6 KB
ID:	440233

    /var/log/zabbix/zabbix_server.log contains next strings:
    14411:20220222:143109.629 database is down: reconnecting in 10 seconds
    14411:20220222:143119.635 [Z3001] connection to database 'zabbix' failed: [0] ERROR: odyssey: cacb93f0ddf39: incorrect password
    How to connect zabbix to PSQL with ca.crt verification?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If you read, what's on your screen, then it tells you exactly, what to do ... "Please create database manually and set the configuration parameters for connection to this database".
    https://www.zabbix.com/documentation.../zabbix_server should help you (DBTLS.... parameters).

    Comment

    Working...