[ZBX-20699] Importing template with host prototype containing SNMPv3 interface fails Created: 2022 Mar 02  Updated: 2025 Nov 03  Resolved: 2023 Aug 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.1
Fix Version/s: 6.0.16rc1, 6.4.2rc1, 7.0.0alpha1, 7.0 (plan)

Type: Problem report Priority: Major
Reporter: Karlis Salins (Inactive) Assignee: Vladimirs Maksimovs
Resolution: Fixed Votes: 10
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Causes
causes ZBX-22941 Secret macros are cleared on the inhe... Closed
causes ZBX-25974 Unlink then link back template causes... READY TO DEVELOP
caused by ZBXNEXT-6959 Implement audit for frontend (Host pr... Closed
Duplicate
is duplicated by ZBX-21685 Update host prototype failed Closed
is duplicated by ZBX-21935 Import cannot update template with SN... Closed
Sub-task
depends on ZBX-20757 Missing audit records for link / unli... Closed
depends on ZBX-21935 Import cannot update template with SN... Closed
Team: Team C
Sprint: Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023)
Story Points: 1

 Description   

Importing of template which contains a discovery rule with a host prototype with SNMPv3

Host interface fails with:

Import failed
Invalid parameter "/1/interfaces/1/details": unexpected parameter "community".

Steps to reproduce:
Create template with discovery rule which contains a host prototype.
Set the interface to SNMPv3(used AuthPriv security level)
Export the template.
Delete the template
Try to import the template.

Results:

Import failed
Invalid parameter "/1/interfaces/1/details": unexpected parameter "community".

Expected:
Template successfully imported.

Note: Tested also on 5.4.7 - works as expected



 Comments   
Comment by Jack Valko [ 2022 Mar 05 ]

This project is also blocked due to this bug, or a very similar bug.  In this example, we are using an SNMPv2 template with a host prototype.  Error on template import is:

Import failed
Invalid parameter "/1/interfaces/1/details": unexpected parameter "contextname".
 

Comment by Jack Valko [ 2022 Mar 15 ]

Confirmed also in 6.0.2

Comment by Jack Valko [ 2022 Apr 04 ]

Confirmed also in 6.0.3. 

Comment by Jack Valko [ 2022 May 26 ]

Confirmed also in 6.0.4

Comment by Jack Valko [ 2022 May 26 ]

@ksalins This issue appeared after 6.0 RC2 and it is believed to be a bug.  Is it possible to get some priority on this problem for a fix, or a confirmation that host prototypes with SNMP interfaces is now unsupported?

Comment by Janis Freibergs [ 2022 Jun 01 ]

Fixed in development branch feature/ZBX-20699-6.0

Comment by Vladimirs Maksimovs [ 2023 Mar 22 ]

Also fixed in development branch feature/ZBX-20699-6.4.

Comment by Vladimirs Maksimovs [ 2023 Apr 04 ]

Fixed in:

Generated at Sat Dec 13 21:49:46 EET 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.