[ZBX-4238] Calculated items in discovery templates don't work Created: 2011 Oct 14  Updated: 2017 May 30  Resolved: 2012 Jan 29

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

Type: Incident report Priority: Blocker
Reporter: Marcin GapiƄski Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: calculateditems, lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File item1.png     PNG File item2.png     PNG File item_view.png     PNG File screen.png    

 Description   

Calculated item cannot find items from which the calculated value is to be derived



 Comments   
Comment by Alexander Vladishev [ 2011 Oct 20 ]

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

Comment by Aleksandrs Saveljevs [ 2011 Oct 20 ]

(1) Let's do the same for "Database monitor", "SSH agent" and "TELNET agent" items!

<sasha> RESOLVED

<asaveljevs> CLOSED

Comment by Alexander Vladishev [ 2011 Oct 20 ]

Fixed in version pre-1.9.7, r22580.

Comment by richlv [ 2011 Oct 20 ]

(2) i believe we should document where discovery macros are supported, as i don't remember all the locations already...

<asaveljevs> Where would it be better to document that? Page http://www.zabbix.com/documentation/2.0/manual/discovery/low_level_discovery currently says "These macros are then used in names, keys, and expressions of prototypes to create items, triggers, and graphs for each discovered entity.". While not strict, this pretty much covers everything where these macros are supported, including calculated item expressions, SSH and Telnet scripts, and database monitor parameters.

<richlv> would they work in item descriptions, for example ? or any other fields, like allowed hosts for trapper items ? i think the multitude of item properties is what confuses me the most

<asaveljevs> Documented it as "These macros are then used in names, keys, and other prototype fields to create items, triggers, and graphs for each discovered entity. For items, these macros can be used in names, keys, SNMP OID's, calculated item expressions, SSH and Telnet scripts, parameters for database monitors. For triggers, in names and expressions. For graphs, just the name fields.".

<richlv> awesome, thanks -> CLOSED

Generated at Tue Apr 23 18:59:58 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.