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

Regex Positive Lookbehind and Positive Lookahead does not work and function in ITEM Preprocessing.

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 6.0.17
    • Frontend (F)
    • None

      Hi,

      Though, any REGEX function with "Positive Lookbehind and Positive Lookahead" feature can be tested in TEST environment in Preprocessing Frontend but after the ITEM is updated, the state of the STATUS field turns to "UNSUPPORTED" and at the INFO field, a red exclamation mark appears. If you click that red icon a pop-up field appears as below; 

      I've tried many "Positive Lookbehind and Positive Lookahead" features but couldn't have succeeded. 

      Eg: (?<=myip\.opendns\.com\nAddress:  )([\d\.]+)

      Instead, the below REGEX function is supported as below; 

      Is this a bug or "Positive Lookbehind and Positive Lookahead" regex features are not supported in ITEM Preprocessing.

      Regards,
      Nuri.
       

            zalex_ua Oleksii Zagorskyi
            nuri Gursel Yarkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: