-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
None
Steps to reproduce:{}
- Start with Zabbix 5.0
- Create a couple of hosts, give them ZBX interface.
- Create a template, link it to the hosts
- Create couple of items of HTTP agent type
- ???
- Switch some items to type Calculated or type Dependent
- Add another interface (SNMP)
- Swith all items that are still HTTP agent to new interface
- Upgrade from Zabbix 5.0 to Zabbix 7.0
- Try to delete ZBX interface
Result:
Original ZBX interface cannot be deleted.
Database query confirms calculated (type=15) and dependent (type=18) items "use" it.
Also database query confirms this affects all hosts that link affected templates same way.
Also database query found more affected templates/items - all originally HTTP Agent.
I don't know how exactly corrupted items happened, "steps to reproduce" is my guess.
Anyway, this report is about upgrade process, either 5->6 or 6->7, not cleaning this mess up.
I hope this helps you find the bug(s). Thank you.