[ZBX-17877] Broken SNMP Interfaces after upgrade to 5.0 Created: 2020 Jun 05  Updated: 2024 Apr 10  Resolved: 2020 Oct 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.1
Fix Version/s: 5.0.5rc1, 5.2.0beta2, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Dmitrijs Lamberts Assignee: Mārtiņš Tālbergs (Inactive)
Resolution: Fixed Votes: 7
Labels: Upgrade, frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1.PNG     PNG File 2.PNG     File 2020-09-14_14-37-46.mp4     File 2020-09-14_15-26-27.mp4     File 2020-09-18_17-21-13.mp4     File 2020-09-18_17-25-37.mp4     File 2020-09-18_17-34-09.mp4     PNG File firefox.png     GIF File mouse.gif     GIF File overlay.gif     PNG File z-select.png    
Issue Links:
Causes
causes ZBX-18425 Severe browser errors: updateItemTest... Closed
causes ZBX-18428 Undefined index in item prototypes ma... Closed
Duplicate
is duplicated by ZBX-18119 Multiple SNMP interfaces presentation... Closed
is duplicated by ZBX-18258 Duplicate interfaces showing for some... Closed
Sub-task
depends on ZBX-18421 Long text in interface dropdown break... Open
Team: Team B
Sprint: Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
Story Points: 5

 Description   
  • pre 5.0 on single host and single snmp IP/Version by mistake create items with different snmp community. ( Let's say a typo )
  • Upgrade to 5.0
  • Host has X amount of SNMP interfaces ( depends on how many communities were in items )
  • Can't remove those interfaces ( greyed out )


 Comments   
Comment by Bogusław Sikora [ 2020 Jul 24 ]

You can remove interface only without underlying items. Change all items (for example via mass update) that they use correct interface. Empty interface(s) can be removed now.

Comment by Constantin Oshmyan [ 2020 Jul 24 ]

bogus, I tried it first of all:

1) using mass update we have trouble to choose the "correct" interface from the list (see 2.PNG screenshot):

2) anyway, I was able to "free" (and delete thereafter) only 1 interface of 3. After that I had 2 interfaces in the list (like 1.PNG screenshot, but without the 3rd interface): both have the "Remove" link unavailable (disabled). Selection different interface as "default" also does not help.

Comment by H.L. [ 2020 Aug 12 ]

Same Problem here. Using "Mass Update" kinda works but is not a good deal. We have hundrets of hosts and all of them have thousands of items.

Pre 5.0 - I would have to identify the 2 or 3 items with old/wrong snmp-settings in our template and change these snmp settings in 2 or 3 items of just one template. Then LLD would have done all the magic and thats it.

Post 5.0 - I need to "Mass Update" every Item, only 50 Items per page, of every host. Again, these are hundrets of hosts and all of them have thousands of items, thus there are tenthousands of pages I need to manually update. I did this for just one single host and it took about 10 minutes. So "Mass Update" is not part of a realistic solution to this.

Is there any elegant way to fix this? Is it possible to fix this with an elegant SQL-Statement? Or any other realistic way?
Thanks!

Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Aug 31 ]

Fixed in development branch feature/ZBX-17877-5.1

Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Sep 28 ]

Available in:

Updated documentation:

Comment by Constantin Oshmyan [ 2020 Sep 28 ]

Hi!

I'm sorry: I'm one of watchers for this issue and one of reporters for version 5.0.x.
I could see some activity about this issue; but, probably, most of this activity is hidden for external watchers (unfortunately, I could not see any details). The last activity that I can see was: modification of field "Available in:" onto "5.2.beta1" and changing status to "Done". However, the orginal problem has been reported for version 5.0.x (that is LTS). Will the fix be available for v5.0? How it will be fixed (what actions will be required from Zabbix admin?)?

Thanks in advance!

Comment by Alexander Vladishev [ 2020 Sep 29 ]

Of course, this fix will also be added to the 5.0 branch. We mistakenly did not set this version in the "Fix Version/s" field.

Thank you for a comment.

Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Oct 01 ]

Fixed in development branch feature/ZBX-17877-5.0

Comment by Bogusław Sikora [ 2020 Oct 28 ]

Issue has been fixed, but still it's impossible to use multiple SNMP interfaces in templates, so the old feature has not been replaced fully. Can you maybe consider adding interface templates to monitoring templates?

Comment by Alexander Vladishev [ 2020 Oct 28 ]

Adding interfaces at the template level will not be implemented.

Comment by Bogusław Sikora [ 2020 Oct 29 ]

OK, thanks. Do you plan any improvements in this area to cover some functionalities removed in version 5.0?

Comment by Alexander Vladishev [ 2020 Oct 29 ]

Currently we have no plans to implement this functionality. You are welcome to create a ZBXNEXT for it and see community feedback, votes for it.

Generated at Thu Jan 09 08:48:24 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.