[ZBX-26225] The 'Max repetition count' value is not inherited in host created from host prototype Created: 2025 Mar 26 Updated: 2025 Mar 27 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Maksym Troshyn | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() |
Description |
If we set no default 'Max repetition count' for snmp interface in host prototype setting, the host created from host prototype template has default Max repetition count = 10.{} Steps to reproduce: 1. Create new host in you setup with zabbix agent interface, don't link any templates to it. 2. Create 'Test LLD' Discovery rule in this host, which will get 'system.hostname[shorthost]' item from agent. 3. Add javascript preprocessing step with such code var result = []; const obj = { "host": value }; result.push(obj); return JSON.stringify(result); 3. Add LLD macros 4. Create Host prototype with snmp interface and non default 'Max repetition count' value, for example 30. 5. Wait a minute until LLD create new host. Result: Host is created but 'Max repetition count' = 10. |