[ZBX-11349] Low level discovery rule can create entities with empty names Created: 2016 Oct 11  Updated: 2017 May 30  Resolved: 2016 Oct 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.19, 2.2.15, 3.0.5, 3.2.1
Fix Version/s: 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Minor
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File discovered_item.png    

 Description   

How to reproduce:

  • create discovery rule with key "discovery" with type "Zabbix trapper"
  • create item prototype with name "{#I}" and key "item[{#I}]"
  • send discovery data zabbix_sender -z localhost -s host -k discovery -o '{"data":[{"{#I}":""}]}'
  • see screenshot

Same problems with trigger names, tags, graph names, host names...



 Comments   
Comment by Volker Fröhlich [ 2016 Oct 12 ]

ZBX-4349 is related

Comment by Sergejs Paskevics [ 2016 Oct 20 ]

Problem with item, trigger, graph names fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11349
Host prototype work correctly. Problem with tag names better to fix next step in 3.2 version after merging this changes.

Comment by Sergejs Paskevics [ 2016 Oct 21 ]

Updated development branch svn://svn.zabbix.com/branches/dev/ZBX-11349. In r63311 fixed same problem with IPMI sensor, SMNP OID, SQL query and executed script fields.

Comment by Andris Zeila [ 2016 Oct 25 ]

(1) We decided to drop empty field checking for IPMI sensor, SMNP OID, SQL query and executed script fields. It was still possible to create items with corresponding fields still empty (through item type changes).

s.paskevics RESOLVED in r63352.

wiper CLOSED

Comment by Andris Zeila [ 2016 Oct 26 ]

Successfully tested. Created ZBX-11391 to fix trigger tag names in 3.2

Comment by Sergejs Paskevics [ 2016 Oct 27 ]

Fixed in:

  • pre-3.0.6rc1 r63379,
  • pre-3.2.2rc1 r63380,
  • pre-3.3.0 (trunk) r63381
Generated at Thu Dec 26 17:18:59 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.