[ZBX-7318] Macro {NODE.NAME<1-9>} and {NODE.ID<1-9>} not expanded in autoregistration messages Created: 2013 Nov 07 Updated: 2017 May 30 Resolved: 2013 Nov 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.0rc2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Petr Jendrejovský | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | actions, dm, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 2.2.0rc2 (revision 40078) |
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). |
Comments |
Comment by Petr Jendrejovský [ 2013 Nov 07 ] |
Sorry, it was my fault, NodeID was missing in configuration file (overwritten by mistake) |
Comment by richlv [ 2013 Nov 07 ] |
reopen to fix resolution |