Zabbix discovery action Uptime/Downtime time suffix ignored i.e. '1d' is stored as '1'

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: API (A), Frontend (F)
    • None
    • Environment:
      Zabbix 5.4.X

      When defining a the Uptime/Downtime condition in a Discovery action it ignores the time suffix you use and only stores the number as seconds.

      For example the value '1d' (one day) may be entered and saved, however the actual value stored is '1' (one second).

      As it is stands people can make a mistake like putting '7d' for this value and devices may be disabled / removed (depending on their action) in 7 seconds...

      Either the input needs to prevent saving the value if a time suffix is used or it should honor the time suffix (Prefered).

       

            Assignee:
            Zabbix Support Team
            Reporter:
            James Cook
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: