-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.0alpha1
-
Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022)
-
2
(copy of subissue (4) from ZBXNEXT-6802)
Steps to reproduce:
1) Create tempalte with hostprototype.
2) Add 2 SNMP interfaces to hostprototype:
First
SNMP version: SNMPv2
SNMP community: 2_snmp_2
Second
SNMP version: SNMPv1
SNMP community: 1_snmp_1
3) Create Autoregistratino Action with operation - link template.
4) Turn on server and agent. Wait till host with linked tempalte is created.
5) Unlink template.
6) In templates hostprototype add DNS name to SNMPv1 - 1_add_dns_for_SNMP_1
7) Change Hostmetadata, turn on server and agent.
8) Check audit after template is linked.
Result:
I have no idea why he shows changes for both interfaces.
Expected:
Only changes for one SNMP interface.
Server logs:
344970:20210813:171417.549 query [txnlev:1] [update hosts set templateid=10423 where hostid=10427; update group_prototype set templateid=56 where group_prototypeid=60; update group_prototype set templateid=57 where group_prototypeid=61; update interface set main=0 where interfaceid=16; update interface_snmp set version=2,community='2_snmp_2' where interfaceid=16; update interface set main=1,dns='1_add_dns_for_SNMP_1' where interfaceid=17; update interface_snmp set version=1,community='1_snmp_1' where interfaceid=17; update host_tag set tag='tag_name_1',value='tag_value_1' where hosttagid=6; ]
- is duplicated by
-
ZBX-19821 Host prototype interfaces might not get updated correctly when linking templates by server
- Closed