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

Agent hangs after service_state execution on Windows 10 Enterprise and others

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • 7.0.18
    • Agent (G)
    • None
    • Support backlog

      Steps to reproduce:

      1. Use Agent on Windows 10 Enterprise
      2. Enable service_state check in Active agent mode

      Result:
      Agent hangs. With no log, no any eventlog notice.

      With debug set to 5 or 4 Agent is not starting:
      Not starting with:

      Event ID: 7034
      Task Category: None
      Level: Error
      
      Description:
      The Zabbix Agent service terminated unexpectedly. It has done this 9 time(s).
      

      Log during hang:

        2264:19700101:000000.984 Starting Zabbix Agent [<name>]. Zabbix 7.0.18 (revision 8b4aa26fa68).
        2264:19700101:000000.984 **** Enabled features ****
        2264:19700101:000000.985 IPv6 support:          YES
        2264:19700101:000000.985 TLS support:           YES
        2264:19700101:000000.985 **************************
        2264:19700101:000000.985 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
        2264:19700101:000000.719 agent #0 started [main process]
       12488:19700101:000000.720 agent #1 started [collector]
        8176:19700101:000000.720 agent #7 started [listener #6]
       13004:19700101:000000.721 agent #11 started [listener #10]
        7048:19700101:000000.721 agent #4 started [listener #3]
        5708:19700101:000000.721 agent #5 started [listener #4]
        4036:19700101:000000.721 agent #6 started [listener #5]
        3176:19700101:000000.721 agent #2 started [listener #1]
       13296:19700101:000000.722 agent #8 started [listener #7]
        6764:19700101:000000.722 agent #9 started [listener #8]
        5172:19700101:000000.722 agent #10 started [listener #9]
        2864:19700101:000000.722 agent #3 started [listener #2]
        9072:19700101:000000.723 agent #12 started [active checks #1]
        9072:19700101:000000.897 Active check data upload started to fail
      

      No log after, no responce on zabbix_get, etc...

      Disabling service_state from templates solves the issues.

      Expected:
      Working Agent.

            edgar.akhmetshin Edgar Akhmetshin
            edgar.akhmetshin Edgar Akhmetshin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 81h
                81h