Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
Problem description: According to the log files (debug level =4), for agent2 the HostInterfaceItem remote command is executed only on startup, but for the standard zabbix-agent this remote command is executed each RefreshActiveChecks period.
According to specification of
ZBXNEXT-1740 the HostInterfaceItem remote command should be considered as an active check, so it should be checked once per RefreshActiveChecks interval, as it is currently done for the standard zabbix-agent.
Steps to reproduce:
- Have a Zabbix instance with agent2 configured. Agent2 is not running
- Edit agent2 config - spefify the following parameters:
Comment parameter "Hostname"
- Start agent2 and wait for a couple of minutes
- Open agent2 log file
Result: According to the agent2 log file agent2 launches HostInterfaceItem remote command only on startup, but HostMetadataItem - each 60 seconds.
Expected: Same as in case of standard zabbix-agent, agent2 should execute both HostInterfaceItem and HostMetadataItem once per RefreshActiveChecks interval.