-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
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.
Expected:
Expect 'Max repetition count' = 30 as defined in host prototype settings (step 4).