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

Macro {NODE.NAME<1-9>} and {NODE.ID<1-9>} not expanded in autoregistration messages

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't fix
    • Affects Version/s: 2.2.0rc2
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Zabbix 2.2.0rc2 (revision 40078)
      Linux XXXXX 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
      psql (PostgreSQL) 9.1.10
      php 5.3.10-1ubuntu3.8

      Description

      When I create action (source "Autoregistration") with message "Host

      {HOST.HOST}

      [

      {HOST.IP}

      :

      {HOST.PORT}

      ] registration on

      {NODE.NAME} ({NODE.ID}) successful.", then in received message I can see macro {NODE.NAME}

      as "UNKNOWN" and

      {NODE.ID}

      as "0". All other macros are expanded. I also tried

      {NODE.NAME1}

      and

      {NODE.ID1}

      , but result is the same.

      My node has ID = 10, also name is set and database converted. Currently there is no other node defined. In 2.0.9 this macro is expanded correctly (on master and all slave nodes).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jermen Petr Jendrejovsk√Ĺ
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: