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

Details

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

    Description

      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.
       

      Attachments

        Activity

          People

            alarionovs Aleksandrs Larionovs (Zabbix Team)
            vas_mpeks Victor Sudakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: