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

The "s" (seconds) modifier is ignored in {$PG.PING_TIME.MAX.WARN}

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.8
    • Templates (T)
    • None
    • Debian 10, Zabbix 5.0.8, PostgreSQL 12.6

      Problem Description:

      There is a problem in the stock PostgreSQL template. The "s" unit modifier in the {$PG.PING_TIME.MAX.WARN} macro is being ignored.

      When I set {$PG.PING_TIME.MAX.WARN}=10 I get milliseconds in the trigger, please see screenshot "ping_just10.png" . This is probably correct.

      When I set {$PG.PING_TIME.MAX.WARN}=10s, I still get milliseconds in the trigger, please see screenshot "ping_10s.png."

      Expected:

      When I set {$PG.PING_TIME.MAX.WARN}=10s, the trigger should be at 10000 ms, not 10 ms.
       

            asebiskveradze Aleksandre Sebiskveradze
            vas_mpeks Victor Sudakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: