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

Trigger expression helper (popup_trexpr.php) shows incorrect options

    Details

      Description

      Here is several improvements to make trigger expression constructor more consistent for different functions which have similar logic.

      1. #count as a parameter for fuzzytime is allowed - but should be limited to seconds only.

      • 'Timestamp not different from Zabbix server time for more than T seconds, then N = 1, 0 - otherwise'

      2. For regexp, iregexp - there only seconds available but #count should be as well.

      • 'Regular expression V matching last value in period T, then N = 1, 0 - otherwise'
      • 'Regular expression V matching last value in period T, then N = 1, 0 - otherwise (non case-sensitive)'

      3. str function should have similar form design as for example regexp

      • 'Find string T in last (most recent) value. N = 1 - if found, 0 - otherwise'

      Maybe other function should be checked as well

        Attachments

          Activity

            People

            • Assignee:
              oleg.egorov Oleg Egorov (Inactive)
              Reporter:
              zalex_ua Oleksiy Zagorskyi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: