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

Windows agent template not compatible with windows XP and server 2003

    XMLWordPrintable

Details

    • Patch request
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.2.1, 6.2.2
    • None
    • Agent (G)
    • Windows server 2003 r2 x86

    Description

      Steps to reproduce:

      1. Install any version of zabbix agent on machine running Windows XP / Server 2003 r2 (6.2, lts 6.0 or 5.0)
      2. Assign to that machine Windows agent template on zabbix server running version 6.2+

      Result:

      Zabbix service crashes, no techincal data is being sent to server. See log file after clean reinstall: 

         3736:20220831:125652.131 Starting Zabbix Agent [c02]. Zabbix 6.2.1 (revision 2c382976146).
        3736:20220831:125652.131 **** Enabled features ****
        3736:20220831:125652.131 IPv6 support:          YES
        3736:20220831:125652.131 TLS support:           YES
        3736:20220831:125652.131 **************************
        3736:20220831:125652.131 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
        3736:20220831:125653.037 agent #0 started [main process]
        4988:20220831:125653.037 agent #1 started [collector]
        4128:20220831:125653.037 agent #2 started[listener #1]
        5020:20220831:125653.037 agent #3 started[listener #2]
        5352:20220831:125653.037 agent #4 started[listener #3]
        3696:20220831:125653.084 agent #5 started [active checks #1]
        5352:20220831:125746.319 PdhAddEnglishCounter() is not available, perf_counter_en[] is not supported
        4128:20220831:125746.319 PdhAddEnglishCounter() is not available, perf_counter_en[] is not supported
        5020:20220831:125746.334 Unhandled exception c0000005 detected at 0x00020005. Crashing ...
        5020:20220831:125746.334 ====== Fatal information: ======
        5020:20220831:125746.334 Program counter: 0x20005
        5020:20220831:125746.334 === Registers: ===
        5020:20220831:125746.334 edi     =                1 =                    1 =                    1
        5020:20220831:125746.334 esi     =          2f7e86c =             49801324 =             49801324
        5020:20220831:125746.334 ebp     =          2f7e7fc =             49801212 =             49801212
        5020:20220831:125746.350 ebx     =                0 =                    0 =                    0
        5020:20220831:125746.350 edx     =          2a00001 =             44040193 =             44040193
        5020:20220831:125746.350 eax     =           1edf28 =              2023208 =              2023208
        5020:20220831:125746.350 ecx     =           1ea410 =              2008080 =              2008080
        5020:20220831:125746.350 esp     =          2f7e7bc =             49801148 =             49801148
        5020:20220831:125746.350 efl     =            10202 =                66050 =                66050
        5020:20220831:125746.350 csgsfs  =         1b003b00 =            452999936 =            452999936
        5020:20220831:125746.350 === Backtrace: ===
        5020:20220831:125746.584 3: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x20005]
        5020:20220831:125746.584 2: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x4676a5]
        5020:20220831:125746.584 1: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x46842d]
        5020:20220831:125746.584 0: C:\Program Files\Zabbix Agent\zabbix_agentd.exe() [0x4e207463]
        5020:20220831:125746.584 ================================
        4988:20220831:125747.178 PdhAddEnglishCounter() is not available, perf_counter_en[] is not supported​ 

      As stated by microsoft, PdhAddEnglishCounter() is available only starting from Windows Vista https://docs.microsoft.com/en-us/windows/win32/api/pdh/nf-pdh-pdhaddenglishcountera

      Expected:

      Properly functioning monitoring, zabbix manual states that Windows server 2003 and XP is still supported for monitoring.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            cyrus96 Kirill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: