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

value mapping not performed for {ITEM.LASTVALUE} inside trigger names

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.8.2
    • Fix Version/s: 1.8.3
    • Component/s: Frontend (F)
    • Labels:
      None
    • Environment:
      PHP 5.2.11, Mysql Server 5.1.41, FreeBSD 8.0-RELEASE x64, VMware EXSi

      Description

      value mapping is not performed if

      {ITEM.LASTVALUE} macro is used inside trigger name in the following screens :

      monitoring -> triggers;
      monitoring -> events;
      possibly others where trigger name is displayed.

      was :
      -----------------------------------------------------
      ????:
      ??? ?????? ?????????? ???? ??????: 2, 4, 10, 22 ? ?.?.
      ?????? ???????????? ? ??????? ??? ??? ?????? Item:
      2 -> ??????1
      4 -> ??????2
      10 -> ??????3
      22 -> ??????4
      46 -> ??????5
      ?????????? ?????????, ????? Item ????? ???????? 1.
      ???????? Item-? ?????? ?? SNMP.
      Type of information: Numeric (unsigned)

      ?????? ???????:
      Name: {HOSTNAME}: I/O Slot ?2, Port?4: {ITEM.LASTVALUE}

      Expression:

      {MyTemplate:snmpSlot2Port4.last(0)}

      #1

      ?? ?????????? (Slot2Port4) ???? ?????? ? ????? 46.

      ??? ? ????? ???????:
      1) ?? ??????????? ????? ???????? ?????????:
      MyHost: I/O Slot ?2, Port?4: ??????5 (46)
      ????? ??? ?? ??? ???. ? ?????????(???) ????????? ??????

      {TRIGGER.NAME}

      (???? ?? ??????)

      2) ?? ?-???????? ???????????? ????????? ??????????:

      • ????: Monitoring > Last data ??? ??????? Item?: I/O Slot ?2, Port?4: ??????5 (46)
      • ????: Monitoring -> Trigger: MyHost: I/O Slot ?2, Port?4: 46
      • ????: Monitoring -> Event: MyHost: I/O Slot ?2, Port?4: 46

      ??? ?????, ? ???? Monitoring -> Trigger/Event, ?????? ?????????????? ???????? ???????????? ?????????????? ???.

        Attachments

        1. ValueMapped.Email.Ok.JPG
          ValueMapped.Email.Ok.JPG
          6 kB
        2. ValueMapped.Events.Error.JPG
          ValueMapped.Events.Error.JPG
          32 kB
        3. ValueMapped.LatestData.Ok.JPG
          ValueMapped.LatestData.Ok.JPG
          18 kB
        4. ValueMapping - email.JPG
          ValueMapping - email.JPG
          16 kB
        5. ValueMapping - event.JPG
          ValueMapping - event.JPG
          15 kB
        6. ValueMapping - lastvalue.JPG
          ValueMapping - lastvalue.JPG
          15 kB
        7. ValueMapping - my_item.JPG
          ValueMapping - my_item.JPG
          57 kB
        8. ValueMapping - my_mapping.JPG
          ValueMapping - my_mapping.JPG
          14 kB
        9. ValueMapping - my_trigger.JPG
          ValueMapping - my_trigger.JPG
          33 kB
        10. ValueMapping - trigger.JPG
          ValueMapping - trigger.JPG
          11 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gdgsoft Dmitrij Gavrilenko
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: