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

Zabbix agent2 unexpectedly stops during eventlog monitoring

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.0.21
    • Agent2 (G)
    • - OS: Windows Server 2022
      - Zabbix Agent2: 7.0.5, 7.0.16
    • Support backlog

      Zabbix agent2 terminates silently with only the following log:

      Zabbix Agent 2 stopped. (7.0.16)
      

      No additional error or stack trace is printed.

      with DebugLevel=5 logging:

      • STOP 1 (05:00:14):
        2025/11/27 05:00:14.234024 executed exporter task for itemid:50294 key 'eventlog[system,,Critical,Microsoft-Windows-DNS-Client,,,skip]'
        2025/11/27 05:00:14.234024 Calling C function "zbx_get_agent_item_nextcheck()"
        2025/11/27 05:00:14.234024 Calling C function "free(cdelay)"
        2025/11/27 05:00:14.716451 listener has been stopped
        2025/11/27 05:00:14.716451 [101] server connector has been stopped
        2025/11/27 05:00:14.716451 created final stopper task for plugin Cpu
        2025/11/27 05:00:14.716451 plugin Cpu: executing stopper task
        2025/11/27 05:00:14.716451 manager has been stopped
        2025/11/27 05:00:14.716451 [101] memory cache has been stopped
        2025/11/27 05:00:14.716451 Zabbix Agent 2 stopped. (7.0.16)
        2025/11/27 05:16:54.334558 Starting Zabbix Agent 2 (7.0.16)
        
      • STOP 2 (05:24:37):
        2025/11/27 05:24:37.220119 executed exporter task for itemid:50317 key 'eventlog[system,,Error,Microsoft-Windows-WindowsUpdateClient,,,skip]'
        2025/11/27 05:24:37.220119 Calling C function "zbx_get_agent_item_nextcheck()"
        2025/11/27 05:24:37.220758 Calling C function "free(cdelay)"
        2025/11/27 05:24:37.839076 [101] server connector has been stopped
        2025/11/27 05:24:37.839076 listener has been stopped
        2025/11/27 05:24:37.839076 manager has been stopped
        2025/11/27 05:24:37.839076 [101] memory cache has been stopped
        2025/11/27 05:24:37.839076 Zabbix Agent 2 stopped. (7.0.16)
        2025/11/27 05:24:38.199445 Starting Zabbix Agent 2 (7.0.16)
        

      FYI. A similar crash log related to Calling C function "free(cdelay)" was reported in wmi.getall (ZBX-25725). In this case it was happen Windows Event Log key (system).

            zabbix.dev Zabbix Development Team
            JKKim Kim Jongkwon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: