Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-702

Compare last "text" value with any other string

XMLWordPrintable

    • Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020)
    • 2

      http://www.zabbix.com/forum/showthread.php?p=81507

      I want to be able to compare text value (containing space, slash, colon) with earlier value, not previous. somthing like:
      (last(#1) equal to last(#2)) but not equal to last(#3).
      My expression is :

      ({host:list_partition[].last(#1)}={host:list_partition[].last(#2)})&({host:list_partition[].last(#1)}#{host:list_partition[].last(#3)})
      

      But I have the following error in my server log:
      Format error or unsupported operator. Exp: [C: F:]
      Expression [(C: F: =C: F: )&(C: F: #C: F: )] cannot be evaluated: Format error or unsupported operator. Exp: [C: F:]

      How can I do this compare ?

        1. not_macro.png
          9 kB
          Ivo Kurzemnieks
        2. problem_name.png
          7 kB
          Ivo Kurzemnieks

            arimdjonoks Artjoms Rimdjonoks
            bernard.schuepbach Bernard SCHÜPBACH
            Team C
            Votes:
            48 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: