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

Second parameter of trigger functions regexp and iregexp

    XMLWordPrintable

    Details

    • Team:
      Team C
    • Sprint:
      Sprint 22
    • Story Points:
      0

      Description

      The documentation of the trigger functions regexp and iregexp explains what the second parameter could be used for. But it misses an explanation how this function works if only some of the checked values match. An example:

      Function:          regexp(Test1,#3)
      Latest 3 values:   Test1, Test2, Test2

      I can think about the following possibilities:

      1. The function results in "0" as it checks if all values match.
      2. The function results in "1" as it checks if any value matches.

      According to my tests the function works according to variant 2. So the documentation should be expanded with an appropriate explanation.

        Attachments

          Activity

            People

            Assignee:
            martins-v Martins Valkovskis
            Reporter:
            pu Pascal Uhlmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: