[ZBX-15665] general marcos can not use in script parameters Created: 2019 Feb 18  Updated: 2019 Feb 18  Resolved: 2019 Feb 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.4
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: 赵相明 Assignee: Zabbix Support Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

server: centos 7.4



 Description   

Steps to reproduce:
1.Create general macros in Administration=>General=>marcos
for example:
{$WEICHAT_TOPARTID} => 2
2.Create a media type with ptyon sctipts in Administration=>Media types
3.Use the marco {$WEICHAT_TOPARTID} in the media type that i create
4.make a problem,watch zabbix_server.log ,and i found the {$WEICHAT_TOPARTID} not got its value 2,



 Comments   
Comment by Andrei Gushchin (Inactive) [ 2019 Feb 18 ]

Thank you for reporting this issue.
Here is the registered issue about that ZBXNEXT-2712.
Currently, media type scripts do not support the USER macro.

Generated at Thu Mar 28 19:36:52 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.