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

PostgreSQL template: fix preprocessing regex

    XMLWordPrintable

    Details

    • Team:
      Team INT
    • Sprint:
      Sprint 57 (Oct 2019), Sprint 58 (Nov 2019)
    • Story Points:
      0.125

      Description

      Steps to reproduce:

      If PostgreSQL connection time is more than 10 sec (happened to me on a highly loaded box) pgsql.ping.time becomes unsupported because of regex mismatch:

      Result:

      Oct 24 09:37:59 slave zabbix_server[33185]: item "vdev3.deepsine.net:pgsql.ping.time["\{$PG.HOST}","\{$PG.PORT}","\{$PG.USER}","\{$PG.DB}"]" became not supported: Preprocessing failed for: 1.Time: 11.113 ms 1. Failed: cannot perform regular expression "Time:\s(\d.\d+)\sms" match for value of type "string": pattern does not match

      Expected:
      See attached patch file...

        Attachments

          Activity

            People

            Assignee:
            afayantsev Anton Fayantsev
            Reporter:
            mkhon Max Khon
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: