[ZBX-12532] Discovery error: graph with the same name already exists Created: 2017 Aug 18  Updated: 2017 Aug 30  Resolved: 2017 Aug 30

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

Type: Problem report Priority: Minor
Reporter: Pascal Uhlmann Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: discovery, graphprototype, server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-12509 "Cannot create graph: graph with the ... Closed

 Description   

I want to monitor NFS client statistics on Linux hosts. As NFSv3 and NFSv4 do not have the same counter values and I solved this using a LLD. The discovery result is like this:

{ "data": [
  { "{#NFS_VERSION}":"3"},
  { "{#NFS_VERSION}":"4"}
] }

So I have two discoveries for each version which filter like follows:

{#NFS_VERSION} matches ^3$
{#NFS_VERSION} matches ^4${noformat}
So each discovery will create items/triggers/graphs only for the corresponding NFS version. But actually this doesn't work for the graphs. On each discovery I get the following error:

graph with the same name "NFS Client v4" already exists

The graphs are named "NFS Client v3" respectively "NFS Client v4". As each discovery results in one instance there cannot be any duplicates.

If the graph ist named *NFS Client v\{#NFS_VERSION\}* the discovery works fine. But this cannot be changed on both graph prototypes because then I get another error:

Graph with name "NFS Client v

{#NFS_VERSION}

" already exists in graphs or graph prototypes


So I think there is a bug within the discovery as I cannot result in duplicate graph names.



 Comments   
Comment by richlv [ 2017 Aug 18 ]

could this be a duplicate of ZBX-12509 ?

Comment by Pascal Uhlmann [ 2017 Aug 18 ]

Yes, you're right.

Generated at Sat Apr 20 11:29:39 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.