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

The agent won't start on Windows with broken perf counters

XMLWordPrintable

    • Team B
    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
    • 1

      The agent does not start if the system for collecting performance counters is not working. In addition, when this system stops, the agent inevitably falls. Is there a way to block this behavior? There are thousands of hosts from XP to win10 and agent crashes happen regularly. The agent should not fall when some Windows features stop working, that's why it is an agent. Well, I don't care about performance counters. Excites only the state of the disk space and the temperature of the processor. Even if I need performance counters, I should either get an error when reading them, or no data.

      77972:20220530:140909.826 Starting Zabbix Agent [172.20.63.196]. Zabbix 6.0.4 (revision 3d787ff402e).
      77972:20220530:140909.830 **** Enabled features ****
      77972:20220530:140909.835 IPv6 support:          YES
      77972:20220530:140909.840 TLS support:            NO
      77972:20220530:140909.844 **************************
      77972:20220530:140909.848 using configuration file: c:\zabbix\conf\zabbix_agentd.conf
      77972:20220530:140909.933 Failed to initialize builtin counter: System
      77972:20220530:140909.937 Failed to initialize builtin counter: Processor
      77972:20220530:140909.941 Failed to initialize builtin counter: Processor Information
      77972:20220530:140909.944 Failed to initialize builtin counter: Terminal Services
      77972:20220530:140909.948 Failed to initialize builtin counter: Processor Queue Length
      77972:20220530:140909.952 Failed to initialize builtin counter: System Up Time
      77972:20220530:140909.955 Failed to initialize builtin counter: % Processor Time
      77972:20220530:140909.959 Failed to initialize builtin counter: % Processor Time
      77972:20220530:140909.962 Failed to initialize builtin counter: Total Sessions
      77972:20220530:140913.400 agent #0 started [main process]
      73172:20220530:140913.404 agent #1 started [collector]
      79628:20220530:140913.408 agent #2 started [listener #1]
      60184:20220530:140913.412 agent #3 started [listener #2]
      78176:20220530:140913.416 agent #4 started [listener #3]
      79844:20220530:140913.419 agent #5 started [active checks #1]
      73172:20220530:140913.429 init_cpu_collector(): cannot make counterpath for "\\": [0xC0000BBD] A required argument is missing or not correct.
      

            asestakovs Aleksejs Sestakovs
            SVDouble Victor Sklyarov
            Team B
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: