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

Discovery Action "uptime/downtime" condition doesn't allow a timespec-suffix

    XMLWordPrintable

Details

    • Incident report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 5.0.3, 5.0.10, 5.2.6, 5.4.0beta3
    • None
    • Frontend (F)
    • CentOS 8, Nginx, Zabbix 5.0.3

    Description

      Steps to reproduce:

      1. Under Configuration, actions, select "Discovery Actions", then Create a new action
      2. Add a condition for "Uptime/downtime" "is less than" and:
      3. Type a timespec like "3w", and hit "Add"
      4. Back on the main condition screen, you'll see that the "3w" trimmed off the "w" turning your "3 weeks" into "3 seconds"

      Result:

      then

       

      --> Upon further inspection, this change seems to happen when the cursor moves away from the "Value" field - so it may be a validation problem instead of storage problem.   But either way, it means the user has to calculate the number of seconds in 3 weeks to get the desired outcome.

      Expected:
      I expect to see "3w" back on the main "Add" display.

       

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            d2inco David D
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: