[ZBX-4162] User macro does not allowed to be used in the simple checks Created: 2011 Sep 21  Updated: 2017 May 30  Resolved: 2011 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.5, 1.9.6 (beta)
Fix Version/s: 1.8.8, 1.9.7 (beta)

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-1909 Zabbix does not validate global macro... Closed

 Description   

I managed to reproduce this bug starting from the Zabbix frontend 1.8.4. and in the current trunk.

Try to create the simple check with the key "ssh,{$SSH_PORT}"
We receive an error "Error in item key: invalid character '{' at position 4" in the 1.8.4
and error "Error in item key: Invalid item key format." in the 1.8.8rc2

This key (DB edited directly) works well at the zabbix_server side.

On the documentation page this key even described as an example:
http://www.zabbix.com/documentation/1.8/manual/config/macros


Generated at Thu Mar 28 17:00:03 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.