[ZBX-12811] Auto registration notification proxy macros undefined Created: 2017 Oct 02 Updated: 2017 Oct 06 Resolved: 2017 Oct 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.4.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Len Rugen | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Hyper-V, Centos 7.4, Zabbix 3.4.2 |
Attachments: |
![]() ![]() |
Description |
Proxy.* macros appear to be missing. Sample notification message: <snipped host and ip for security> Windows host registration |
Comments |
Comment by Aleksejs Petrovs [ 2017 Oct 02 ] |
Hello Len, Regards, |
Comment by Len Rugen [ 2017 Oct 02 ] |
Hopefully, 2 screen shots |
Comment by Aleksejs Petrovs [ 2017 Oct 02 ] |
So this isn't a bug actually, because you are using the {PROXY.NAME1} which utilizes number as an items identifier. In case of Auto-registration - there is no any item to identify. You need to use {PROXY.NAME} or {PROXY.DESCRIPTION} without any number and this should work fine. More information: https://www.zabbix.com/documentation/3.4/manual/appendix/macros/supported_by_location I'm closing the issue. Thank you! Regards, |
Comment by Len Rugen [ 2017 Oct 02 ] |
We copied the message text from our production 2.4 system, so it must have changed somewhere along the way. |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 03 ] |
In the olden days in contexts where macro indexes had no meaning indexed macros were resolved to the same thing as non-indexed macros (in your example {PROXY.NAME1} used to be the same as {PROXY.NAME}, {PROXY.NAME5} or {PROXY.NAME9}). This was changed in You can find more details if you read Upgrade notes carefully. |
Comment by Volker Fröhlich [ 2017 Oct 05 ] |
If this should work, the documentation is confusing:
There is no indication of this use case, while on the other hand:
glebs.ivanovskis Good point, actually. Would you be so kind to create documentation ticket for that? I fear that if I do it myself it will be assigned to me and I will have to figure out what's what and I don't really want to. |
Comment by Volker Fröhlich [ 2017 Oct 05 ] |
Can you please fix the typo in the issue title? glebs.ivanovskis Done. Thank you for noticing! |