Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22872

PostgreSQL by Zabbix agent 2 for 6.0.18 failed SASL auth

XMLWordPrintable

      Steps to reproduce:

      1. Use the latest PostgreSQL by Zabbix agent 2 template
      2. Set username & password for database in template macros

      Result:

       

      2023/05/31 07:31:44.675148 [PostgreSQL] Connection failed: failed to connect to `host=postgres-db-1 user=root database=user=zbx_monitor`: failed SASL auth (FATAL: password authentication failed for user "root" (SQLSTATE 28P01)). 

       

      Expected:
      Should be able to connect to the database and monitor it.

      For me, the part in the log `database=user=zbx_monitor` looks not correct.

            zabbix.support Zabbix Support Team
            fvslvlrpxsfiowfvdi John Wayne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: