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

PostgreSQL template: fix preprocessing regex

XMLWordPrintable

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

      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...

            afayantsev Anton Fayantsev (Inactive)
            mkhon Max Khon
            Team INT
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: