[ZBXNEXT-4480] Discovery from custom CSV string Created: 2018 Apr 04 Updated: 2024 Feb 28 Resolved: 2024 Feb 28 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 4.0 (plan) |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | Roman Rajniak | Assignee: | Michael Veksler |
Resolution: | Workaround proposed | Votes: | 3 |
Labels: | items, lld, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | screenshot-1.png |
Description |
To create a set of predefined items using #MACRONAME we can use "Discovery rule" which calls external script. For instance, in the discovery rule add new Type in list like "Custom" {"data":[{"{#MACRONAME1}":"TEST"},{"{#MACRONAME1}":"PROD"},{"{#MACRONAME1}":"DEVEL"}]} |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Apr 04 ] |
Duplicate of |
Comment by Roman Rajniak [ 2018 Apr 04 ] |
No, This is only for static list of values configured in frontend, without any coding. |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Apr 04 ] |
Ah, got it. |
Comment by Roman Rajniak [ 2018 Apr 04 ] |
And maybe later one more improvement: <macroname> as string with CSV list of MACRONAMEs {"data":[ { "{#MACRONAME1}":"TEST", "{#MACRONAME2}":"1" }, { "{#MACRONAME1}":"PROD", "{#MACRONAME2}":"4" }, { "{#MACRONAME1}":"DEVEL", "{#MACRONAME2}":"9" } ]} |
Comment by Roman Rajniak [ 2019 Jan 09 ] |
Part of |
Comment by Roman Rajniak [ 2019 Sep 23 ] |
Simmilar to |
Comment by Alex Kalimulin [ 2024 Feb 28 ] |
Closing because Script items seem to address this use case. Feel free to reopen if this is not the case. |