[ZBXNEXT-115] Macros for including value mapping values in actions and/or triggers Created: 2009 Nov 03 Updated: 2023 Aug 03 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Mārcis Lielturks | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 10 |
Labels: | macros, valuemapping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
zabbix_server, zabbix GUI |
Attachments: | image-2023-08-03-12-26-40-139.png image-2023-08-03-12-27-40-981.png |
Description |
It would be useful to have macros that allow to include mapped values from items (not actual numbers) in action messages and, possibly, in triggers too. This way message from monitoring system to average user at support could provide more sense. For example, action message with macros " {HOSTNAME}{ITEM.NAME} reported {ITEM.MAPEDVALUE}" that translates to |
Comments |
Comment by richlv [ 2009 Nov 03 ] |
in general, there should be 3 macros available : 1. default - mapped value & raw value, like in frontend - Normal (2) |
Comment by Raymond Kuiper [ 2012 Oct 15 ] |
I really like the idea behind this one! |
Comment by Rafael Bianco Nacif [ 2023 Aug 03 ] |
I believe this could be useful. I created a item widget which I use to monitor some DNS servers. I created for those itens some mapped values. I would like to configure my item widget to be visual, something like a simple KPI index. The best I could do was to show Up (1). I would love to show only "Up", which is the mapped value for this item. I could use a macro {$ITEM.MAPPEDVALUE} as a description in my case.
Cheers! |