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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3
    • 1.8.1, 1.8.2
    • Frontend (F)
    • None
    • PHP 5.2.11, Mysql Server 5.1.41, FreeBSD 8.0-RELEASE x64, VMware EXSi

      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, ?????? ?????????????? ???????? ???????????? ?????????????? ???.

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

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

              Created:
              Updated:
              Resolved: