[ZBX-778] ITEM.NAME macro not displayed correctly in action email Created: 2009 Mar 12  Updated: 2017 May 30  Resolved: 2009 Sep 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 1.6
Fix Version/s: 1.6.6, 1.9.0 (alpha)

Type: Incident report Priority: Minor
Reporter: jpriceit Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu Server 8.04.1
kernel 2.6.24-21 - i686
gcc version 4.2.4



 Description   

ITEM.NAME macro works fine for non web monitoring alerts, but when an alert is sent in response to a web monitoring trigger, the ITEM.Name is displayed in the email as below:

"Failed step of scenario '$1'"

rather than the expected:

"Failed step of scenario '<scenario description>'"

I also noticed that creating the web scenario creates Items with descriptions that look correct on the "CONFIGURATION OF ITEMS" page, but when I click any of the items the description reads exactly as above. I have tried cloning the item and giving it a different description, but when I click clone, I get the following errors:

"

  • Undefined index: itemid[/home/zabbix/zabbix-1.6.1/frontends/php/include/forms.inc.php:1759]
  • DBcondition Error: [ia.itemid] =
    "

I am eager to test patches for this if needed



 Comments   
Comment by richlv [ 2009 Sep 15 ]

reproducible in current trunk

Comment by Alexander Vladishev [ 2009 Sep 24 ]

Fixed in 1.6 (pre1.6.7) and trunk branches, revision 7970.

Comment by richlv [ 2009 Sep 25 ]

confirming the fix in trunk, rev 7977

Generated at Sat Apr 27 06:02:36 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.