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

Pre-processing less-than sign(<) difference between TEST and Item

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.2.7
    • None

      Hi Zabbix devs,

      Think I found another difference between the Zabbix TEST function and actual Pre-processing. Template included in the file.

       

      Seems like when I use the less-than sign "<" it interpets it fine in test:

      REGEX: ">ASN Duurzaam Aandelenfonds.\n.\n<td>([0-9,]+)"

       

      But not when using it on the item:

       

      If I omit the "<" and make a different regex like" 

      REGEX: ">ASN Duurzaam Aandelenfonds.\n.\n.*td>([0-9,]+)"

      It works:

       

      Testing to see specifically if it's an issue with the symbol didn't yield the expected results:

      Perhaps it's a combination? Not sure, thought you should know. Low Prio from my end.

        1. image-2023-02-16-09-56-56-433.png
          39 kB
          Nathan Liefting
        2. image-2023-02-16-09-58-39-549.png
          26 kB
          Nathan Liefting
        3. image-2023-02-16-09-59-57-661.png
          34 kB
          Nathan Liefting
        4. image-2023-02-16-10-03-12-692.png
          12 kB
          Nathan Liefting
        5. image-2023-02-16-10-09-32-190.png
          22 kB
          Nathan Liefting
        6. Screenshot 2023-02-16 at 10.09.24.png
          22 kB
          Nathan Liefting
        7. zbx_export_templates (32).yaml
          3 kB
          Nathan Liefting

            zabbix.dev Zabbix Development Team
            nathan.liefting Nathan Liefting
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: