[ZBX-21468] Proxy configuraton sync will not work after changing discovery group Created: 2022 Aug 12  Updated: 2024 Apr 10  Resolved: 2022 Nov 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 6.2.1
Fix Version/s: 6.2.5rc1, 6.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Andris Zeila Assignee: Jurijs Klopovskis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-21995 Fresh Zabbix-proxy database error whe... Closed
caused by ZBXNEXT-7480 Server changes to work with template ... Closed
Team: Team B
Sprint: Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022)
Story Points: 0.25

 Description   

In 6.0 hstgrp table had index by name. In 6.2 it was changed to unique index by type and name. When syncing configuration with proxy only groupid is sent. When discovery group is changed it causes SQL error because proxy is trying to insert another group with the same (default) name and type.

The simplest fix would be to mark hstgrp name and type with ZBX_PROXY in schema template, so they also are sent to proxy.



 Comments   
Comment by Juris Lambda [ 2022 Sep 27 ]

Fixed in development branch feature/ZBX-21468-6.2.

Comment by Jurijs Klopovskis [ 2022 Nov 04 ]

Avialable in:

Generated at Sat Apr 26 01:27:42 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.