[ZBX-5347] Multiplying entries in graphs based on LLD prototypes Created: 2012 Jul 18  Updated: 2017 May 30  Resolved: 2012 Jul 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.0
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Roman Chapurny Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: graphs, lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File z1.png     PNG File z2.png    
Issue Links:
Duplicate
is duplicated by ZBX-5522 LLD graph gets more and more items Closed
is duplicated by ZBX-5524 src/libs/zbxdbhigh/lld.c / DBlld_make... Closed

 Description   

If an item prototype is added to graph prototype in a discovery rule 2 or more times (e.g. to plot both [avg] and [max] values on the same chart), discovery process creates multiple entries of each duplicated item in the resulting graph instantiated based on this prototype. Every time LLD is performed, additional entries are added to this graph. Same scenario that doesn't involve LLD works properly, duplicates are not created.

Steps to replicate:

  • navigate to vanilla SNMP interfaces template, interfaces discovery rule, graph prototypes
  • add incoming and outgoing traffic item prototypes with any draw style and any line style to existing "Traffic on interface ..." graph prototype
  • watch interface utilization graph on any device associated with this template for a few LLD periods
  • observe multiplied entries

Attachments:
1. Graph prototype configuration
2. Instantiated host graph with multiplied entries/charts



 Comments   
Comment by Alexander Vladishev [ 2012 Jul 20 ]

The problem is confirmed in latest 2.0 r28992

Comment by Alexander Vladishev [ 2012 Jul 20 ]

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

Comment by dimir [ 2012 Aug 06 ]

Successfully tested. Please review my comment in r29416.

<Sasha> CLOSED

Comment by Alexander Vladishev [ 2012 Aug 06 ]

Fixed in pre-2.0.3 r29423 and pre-2.1.0 (trunk) r29424.

Generated at Fri Apr 19 00:45:01 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.