[ZBXNEXT-5136] {HOST.ID} in global scripts Created: 2019 Mar 28  Updated: 2019 Apr 03  Resolved: 2019 Apr 03

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 3.0.26, 4.0.4
Fix Version/s: None

Type: Change Request Priority: Critical
Reporter: Victor Assignee: Andris Zeila
Resolution: Fixed Votes: 0
Labels: frontend, globalscripts, host
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1406 HOST.ID macro in global scripts Closed

 Description   

Steps to reproduce:

  1. Add new global script with name "script1" with command "echo {HOST.ID}
  2. Navigate to screen Problems
  3. Click on any Host item and choose "script1" in context menu

Result:
Output of the command is:
"{HOST.ID}" instead the actual hostid value

Expected:
actual hostid value



 Comments   
Comment by richlv [ 2019 Mar 28 ]

Duplicate of ZBXNEXT-1406.

Generated at Tue Apr 23 15:53:27 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.