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

zabbix-agent2 pgsql.db.size return incorrect value

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.2.0beta1
    • Agent2 plugin (N)
    • zabbix-agent2 1:5.2.0~beta1-1+debian10

      Steps to reproduce:

      1. Setup zabbix-agent2 on postgresql host with more of one databases...
      2. Setup host in zabbix...
      3. Check "DB {#DBNAME}: Database size" in last data...

      Result:
      All databases have Postgres DB size
      Expected:
      All databases must have correct sizes

      Reason is code bug.
      As "datname" parameter must be used params[3] (fourth element of input Param's) 

      P.S.
      Equal error present in "DB {#DBNAME}: Database age" metric

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            Shilov Sergey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: