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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 2.2.0rc2
    • Component/s: Server (S)
    • 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

      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).

            Assignee:
            Unassigned
            Reporter:
            Petr Jendrejovský
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: