Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17377

HostInterfaceItem launched only during startup of agent2

XMLWordPrintable

    • Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • 1

      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:

      1. Have a Zabbix instance with agent2 configured. Agent2 is not running
      2. Edit agent2 config - spefify the following parameters:
             DebugLevel=4
             Comment parameter "Hostname"
             HostnameItem=system.run[echo New_Host_Name] 
             HostMetadataItem=system.run[echo Host_Meta_Data]
             HostInterfaceItem=system.run[echo Zabbix]
             RefreshActiveChecks=60
             Plugins.SystemRun.LogRemoteCommands=1
      3. Start agent2 and wait for a couple of minutes
      4. 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.

            esneiders Eriks Sneiders
            solonkins Sergejs Olonkins
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: