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

When monitoring PostgreSQL with Zabbix agent 2 - one connection per each discovered DB is created

XMLWordPrintable

    • Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
    • 1

      Steps to reproduce:

      1. Install a PostgreSQL cluster (tested on version 13.5)
      2. Create some DBs (can be empty)
      3. Set the PostgreSQL cluster to be monitored via Zabbix agent 2 according to the official guide https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/postgresql_agent2?at=release/5.0
      4. Wait for the "Database discovery" discovery rule to run or run it explicitly
      5. Watch the number of connections created by the "zbx_monitor" per each existing database

      Result:

      Expected:
      One connection to the PostgreSQL cluster for all "zbx_monitoring" need.

        1. image-2022-02-04-15-55-53-411.png
          128 kB
          Antons Sincovs
        2. image-2022-02-14-08-57-36-325.png
          282 kB
          Antons Sincovs

            esneiders Eriks Sneiders
            asincovs Antons Sincovs
            Team INT
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: