[ZBX-6012] Macro not expanded in snmptrap item Created: 2012 Dec 18  Updated: 2017 May 30  Resolved: 2013 Jan 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.4
Fix Version/s: 2.0.5rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Nicola Canepa Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Cannot use an user macro as parameter to an snmptrap key (type SNMP trap), while the manual states differently



 Comments   
Comment by richlv [ 2012 Dec 18 ]

hmm, it probably checks for that to be a regexp. probably should support getting regexp (or global regexp reference) from a usermacro as well

should be verified whether server supports that as well

Comment by Alexander Vladishev [ 2012 Dec 28 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-6012

Comment by dimir [ 2013 Jan 10 ]

(1) Host macros are not expanded.

sasha RESOLVED in r32706

dimir CLOSED

Comment by dimir [ 2013 Jan 17 ]

Successfully tested.

Comment by Alexander Vladishev [ 2013 Jan 18 ]

Fixed in versions pre-2.0.5 r32874 and pre-2.1.0 (trunk) r32875.

Generated at Wed Apr 24 10:58:33 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.