Ad Widget

Collapse

Zabbix Agent on Windows Server 2012R2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyosan
    Junior Member
    • Aug 2023
    • 1

    #1

    Zabbix Agent on Windows Server 2012R2

    Hi all.
    I have some problem with Zabbix Agent and Zabbix Agent 2 on a server With Windows 2012 R2.
    Zabbix Agent crash on start.
    Zabbix Agent 2 keep starting, but it freeze without starting.
    I'm using Zabbix server on Debian 12, version 6.4.5
    Zabbix agent and agent 2 are on version 6.4.5
    Attached are logs for both versions, with Debug Level 5

    Zabbix Agent log
    Code:
     21844:20230804:101004.502 Starting Zabbix Agent [deleted]. Zabbix 6.4.5 (revision 6084b1dbbba).
     21844:20230804:101004.522 **** Enabled features ****
     21844:20230804:101004.541 IPv6 support:          YES
     21844:20230804:101004.558 TLS support:           YES
     21844:20230804:101004.576 **************************
     21844:20230804:101004.592 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
     21844:20230804:101004.613 In init_collector_data()
     21844:20230804:101004.629 logical CPU count 32
     21844:20230804:101004.643 End of init_collector_data()
     21844:20230804:101004.659 In init_perf_collector()
     21844:20230804:101004.675 In zbx_init_builtin_counter_indexes()
     21844:20230804:101004.690 In zbx_get_all_counter_names()
     21844:20230804:101005.177 End of zbx_get_all_counter_names()
     21844:20230804:101005.895 End of zbx_init_builtin_counter_indexes():SUCCEED
     21844:20230804:101005.917 In set_object_names()
     38028:20230804:102221.218 Zabbix Agent received stop request.
     29224:20230804:103746.977 Starting Zabbix Agent [AGICVIRTUAL6]. Zabbix 6.4.5 (revision 6084b1dbbba).
     29224:20230804:103746.995 **** Enabled features ****
     29224:20230804:103747.014 IPv6 support:          YES
     29224:20230804:103747.034 TLS support:           YES
     29224:20230804:103747.051 **************************
     29224:20230804:103747.068 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
     29224:20230804:103747.087 In init_collector_data()
     29224:20230804:103747.112 logical CPU count 32
     29224:20230804:103747.129 End of init_collector_data()
     29224:20230804:103747.152 In init_perf_collector()
     29224:20230804:103747.167 In zbx_init_builtin_counter_indexes()
     29224:20230804:103747.184 In zbx_get_all_counter_names()
     29224:20230804:103747.685 End of zbx_get_all_counter_names()
     29224:20230804:103748.470 End of zbx_init_builtin_counter_indexes():SUCCEED
     29224:20230804:103748.496 In set_object_names()
     29224:20230804:103748.793 VEH Trap detected exception 6ba at 0x00007FFDF7FE8D5C. Exception information:
     29224:20230804:103748.814 ====== Fatal information: ======
     29224:20230804:103748.834 Program counter: 0xf7fe8d5c
     29224:20230804:103748.853 === Registers: ===
     29224:20230804:103748.868 r8      =                3 =                    3 =                    3
     29224:20230804:103748.884 r9      =               30 =                   48 =                   48
     29224:20230804:103748.900 r10     =                0 =                    0 =                    0
     29224:20230804:103748.915 r11     =               22 =                   34 =                   34
     29224:20230804:103748.932 r12     =           ffde00 =             16768512 =             16768512
     29224:20230804:103748.949 r13     =                0 =                    0 =                    0
     29224:20230804:103748.968 r14     =           ffdb68 =             16767848 =             16767848
     29224:20230804:103748.984 r15     =           ffdd04 =             16768260 =             16768260
     29224:20230804:103749.001 rdi     =                0 =                    0 =                    0
     29224:20230804:103749.021 rsi     =                0 =                    0 =                    0
     29224:20230804:103749.045 rbp     =                5 =                    5 =                    5
     29224:20230804:103749.067 rbx     =              6ba =                 1722 =                 1722
     29224:20230804:103749.090 rdx     =                1 =                    1 =                    1
     29224:20230804:103749.111 rax     =     7ffd0000000b =      140724603453451 =      140724603453451
     29224:20230804:103749.132 rcx     =               30 =                   48 =                   48
     29224:20230804:103749.153 rsp     =           ffd2e0 =             16765664 =             16765664
     29224:20230804:103749.174 efl     =              206 =                  518 =                  518
     29224:20230804:103749.194 csgsfs  =         332b5300 =            858477312 =            858477312
     29224:20230804:103749.215 === Backtrace: ===
     29224:20230804:103749.352 23: C:\Windows\system32\KERNELBASE.dll(RaiseException+0x6c) [0xf7fe8d5c]
     29224:20230804:103749.374 22: C:\Windows\system32\RPCRT4.dll(RpcRaiseException+0x51) [0xf92df5e1]
     29224:20230804:103749.402 21: C:\Windows\system32\RPCRT4.dll(RpcRaiseException+0x14) [0xf92df5a4]
     29224:20230804:103749.426 20: C:\Windows\system32\RPCRT4.dll(NdrClearOutParameters+0x2df9) [0xf93ab429]
     29224:20230804:103749.448 19: C:\Windows\system32\RPCRT4.dll(NdrClientCall3+0xfe) [0xf93ac86e]
     29224:20230804:103749.470 18: C:\Windows\SYSTEM32\BROWCLI.DLL(I_BrowserQueryStatistics+0x3a) [0xeabe553a]
     29224:20230804:103749.510 17: C:\Windows\System32\perfnet.dll(CloseNetSvcsObject+0x1474) [0xeaf92a14]
     29224:20230804:103749.533 16: C:\Windows\System32\perfnet.dll(CollectNetSvcsObjectData+0x106) [0xeaf91546]
     29224:20230804:103749.553 15: C:\Windows\system32\ADVAPI32.dll(QueryServiceConfig2W+0x5b0) [0xf83f3e90]
     29224:20230804:103749.575 14: C:\Windows\system32\ADVAPI32.dll(QueryServiceConfig2W+0x3eb) [0xf83f3ccb]
     29224:20230804:103749.600 13: C:\Windows\system32\ADVAPI32.dll(QueryServiceConfig2W+0x6c9) [0xf83f3fa9]
     29224:20230804:103749.622 12: C:\Windows\system32\KERNELBASE.dll(RegSetValueExA+0x961) [0xf8020e41]
     29224:20230804:103749.643 11: C:\Windows\system32\KERNELBASE.dll(RegQueryValueExW+0xe9) [0xf7fe4849]
     29224:20230804:103749.670 10: C:\Windows\SYSTEM32\pdh.dll(PdhRemoveCounter+0x2682) [0xf62e8652]
     29224:20230804:103749.689 9: C:\Windows\SYSTEM32\pdh.dll(PdhRemoveCounter+0xedb) [0xf62e6eab]
     29224:20230804:103749.707 8: C:\Windows\SYSTEM32\pdh.dll(PdhValidatePathW+0xd0b) [0xf631e1cb]
     29224:20230804:103749.725 7: C:\Windows\SYSTEM32\pdh.dll(PdhEnumObjectsHW+0x175) [0xf631ae25]
     29224:20230804:103749.748 6: C:\Windows\SYSTEM32\pdh.dll(PdhEnumObjectsW+0x155) [0xf631afe5]
     29224:20230804:103749.770 5: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ace25]
     29224:20230804:103749.787 4: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400acb4f]
     29224:20230804:103749.805 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x400ad69b]
     29224:20230804:103749.830 2: C:\Windows\SYSTEM32\sechost.dll(CredEnumerateW+0x2fa) [0xf8857a3a]
     29224:20230804:103749.852 1: C:\Windows\system32\KERNEL32.dll(BaseThreadInitThunk+0x22) [0xfa911412]
     29224:20230804:103749.874 0: C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x34) [0xfaac5504]
     29224:20230804:103749.907 ================================​
    Here is Agent 2 Log

    Code:
    2023/08/04 13:00:43.975593 Starting Zabbix Agent 2 (6.4.5)
    2023/08/04 13:00:43.980502 Calling C function "tls_new_context()"
    2023/08/04 13:00:43.982503 Calling C function "tls_new_context()"
    2023/08/04 13:00:43.983503 Calling C function "tls_version()"
    2023/08/04 13:00:43.984503 OpenSSL library (OpenSSL 3.0.8 7 Feb 2023) initialized
    2023/08/04 13:00:43.984503 Calling C function "tls_describe_ciphersuites()"
    2023/08/04 13:00:43.984503 Calling C function "free()"
    2023/08/04 13:00:43.984503 default context ciphersuites: TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 ECDHE-PSK-AES128-CBC-SHA256 ECDHE-PSK-AES128-CBC-SHA PSK-AES128-GCM-SHA256 PSK-AES128-CCM8 PSK-AES128-CCM PSK-AES128-CBC-SHA256 PSK-AES128-CBC-SHA
    2023/08/04 13:00:43.984503 Calling C function "tls_describe_ciphersuites()"
    2023/08/04 13:00:43.984503 Calling C function "free()"
    2023/08/04 13:00:43.984503 psk context ciphersuites: TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 ECDHE-PSK-AES128-CBC-SHA256 ECDHE-PSK-AES128-CBC-SHA PSK-AES128-GCM-SHA256 PSK-AES128-CCM8 PSK-AES128-CCM PSK-AES128-CBC-SHA256 PSK-AES128-CBC-SHA
    2023/08/04 13:00:43.984503 using configuration file: C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf
    2023/08/04 13:00:43.985503 using plugin 'Agent' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.985503 using plugin 'Ceph' (built-in) providing following interfaces: exporter, runner, configurator
    2023/08/04 13:00:43.985503 using plugin 'Cpu' (built-in) providing following interfaces: exporter, collector, runner
    2023/08/04 13:00:43.985503 using plugin 'DNS' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.985503 using plugin 'File' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.985503 using plugin 'Log' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.985503 using plugin 'MQTT' (built-in) providing following interfaces: watcher, configurator
    2023/08/04 13:00:43.986502 using plugin 'Memcached' (built-in) providing following interfaces: exporter, runner, configurator
    2023/08/04 13:00:43.986502 using plugin 'Memory' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.986502 using plugin 'Modbus' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.986502 using plugin 'Mysql' (built-in) providing following interfaces: exporter, runner, configurator
    2023/08/04 13:00:43.986502 using plugin 'NetIf' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.986502 using plugin 'Oracle' (built-in) providing following interfaces: exporter, runner, configurator
    2023/08/04 13:00:43.986502 using plugin 'Proc' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.986502 using plugin 'Redis' (built-in) providing following interfaces: exporter, runner, configurator
    2023/08/04 13:00:43.986502 using plugin 'Registry' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.986502 using plugin 'Smart' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'Sw' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'Swap' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.987503 using plugin 'SystemRun' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'TCP' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'UDP' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'Uname' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.987503 using plugin 'Uptime' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.987503 using plugin 'Users' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.987503 using plugin 'VFSDir' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.987503 using plugin 'VMemory' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.988503 using plugin 'VfsFs' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.988503 using plugin 'WebCertificate' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.988503 using plugin 'WebPage' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.988503 using plugin 'WindowsEventlog' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.988503 lowering the plugin WindowsPerfInstance capacity to 1 as the configured capacity 100 exceeds limits
    2023/08/04 13:00:43.988503 using plugin 'WindowsPerfInstance' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.988503 using plugin 'WindowsPerfMon' (built-in) providing following interfaces: exporter, collector, runner
    2023/08/04 13:00:43.988503 using plugin 'WindowsServices' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.988503 using plugin 'Wmi' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.989502 using plugin 'ZabbixAsync' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.989502 using plugin 'ZabbixStats' (built-in) providing following interfaces: exporter, configurator
    2023/08/04 13:00:43.989502 lowering the plugin ZabbixSync capacity to 1 as the configured capacity 100 exceeds limits
    2023/08/04 13:00:43.989502 using plugin 'ZabbixSync' (built-in) providing following interfaces: exporter
    2023/08/04 13:00:43.989502 [Modbus] Config is valid​


    Thank you for your help.
Working...