[ZBX-11815] Displaying macro context in graphs is wrong, only one representation works well. Created: 2017 Feb 15  Updated: 2017 May 30  Resolved: 2017 Feb 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.3
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Alois Zadrazil Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File C_BAD1.PNG     PNG File C_OK.PNG     PNG File E_BAD.PNG     PNG File E_OK.PNG    
Issue Links:
Duplicate
duplicates ZBX-11698 Host level context macro not resolved... Closed

 Description   

When I configure macro context in template for disk ussage in trigger prototype like:

{Template OS Windows:vfs.fs.size[{#FSNAME},pused].last(0)}>{$LIMIT_DISK_PFILLED_HIGH:"{#FSNAME}"}

and define macro on template level like:
{$LIMIT_DISK_PFILLED_HIGH} = 95
It works well, exactly as supposed. If I redefine macro at host level for one of disk drive like:
{$LIMIT_DISK_PFILLED_HIGH:C:} = 97
Graph is displayed as supposed. - picture C_OK.png

But if I use more macro contexts at Host level like:
{$LIMIT_DISK_PFILLED_HIGH:E:} = 98
{$LIMIT_DISK_PFILLED_HIGH:C:} = 97
Graph for Disk C: is with bad trigger value and OK for Disk E.

  • pictures C_BAD1png,E_OK.png

If I add macro for disk F:
{$LIMIT_DISK_PFILLED_HIGH:F:} = 99
then Graphs for disk C: and E: are with bad trigger value.

  • picture E_BAD.png

It looks like evaluation of trigger values in graphs with macro context works only for the last one macro context. The others are in default macro level without context. But as I wrote before, trigger evaluation of macro context works well.

Alois Zadrazžil



 Comments   
Comment by Glebs Ivanovskis (Inactive) [ 2017 Feb 15 ]

Probably a duplicate of ZBX-11698.

Comment by Alexander Vladishev [ 2017 Feb 16 ]

Already fixed in ZBX-11698. I close this issue.

Generated at Thu Apr 24 05:37:48 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.