[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: |
|
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 |
Comment by Pascal Uhlmann [ 2017 Aug 18 ] |
Yes, you're right. |