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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.2.0rc2
    • Server (S)
    • 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).

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

              Created:
              Updated:
              Resolved: