[ZBX-25962] Zabbix Agent crash with some wmi queries Created: 2025 Jan 30  Updated: 2025 Mar 07  Resolved: 2025 Feb 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 7.0.9
Fix Version/s: 7.0.10rc1, 7.2.4rc1, 7.4.0alpha1

Type: Problem report Priority: Critical
Reporter: Olivier Gamache Assignee: Dmitrijs Goloscapovs
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: 18h
Original Estimate: Not Specified
Environment:

Zabbix Agent 2 7.0.6 or 7.0.9 and Windows 11


Attachments: PNG File screenshot-1.png    
Team: Team A
Sprint: S25-W6/7
Story Points: 1

 Description   

Steps to reproduce:

  1. Install an configure Zabbix Agent 2 7.0.6 or 7.0.9 in a Windows 11 host
  2. Add the template "Windows by Zabbix agent"
  3. Add an item wmi.getall[root\Microsoft\Windows\TaskScheduler,select * from MSFT_ScheduledTask] with 1m of update interval

Result:
Before Adding the wmi.getall item all is OK and less than 1 minute after the item was added the agent crash.

The service can be started but it will crash less than 1 minutes later. The problem will disappeared if the item is disabled.



 Comments   
Comment by Wojciech Rawicki [ 2025 Jan 30 ]

Hello Olivier,

Could you provide us Windows 11 version affected with this issue? I would like to reproduce this issue but need to check which versions of Windows11 are affected  

Comment by Wojciech Rawicki [ 2025 Jan 30 ]

Thank you for the report. I confirm this issue!

Comment by Olivier Gamache [ 2025 Jan 30 ]

Some informations from systeminfo:

 

Nom du système d’exploitation:              Microsoft Windows 11 Professionnel
Version du système:                         10.0.22631 N/A build 22631
Fabricant du système d’exploitation:        Microsoft Corporation
Configuration du système d’exploitation:    Station de travail autonome
Type de build du système d’exploitation:    Multiprocessor Free
Fabricant du système:                       innotek GmbH
Modèle du système:                          VirtualBox
Type du système:                            x64-based PC
Processeur(s):                              1 processeur(s) installé(s).
                                            [01] : Intel64 Family 6 Model 79 Stepping 1 GenuineIntel ~3592 MHz
Version du BIOS:                            innotek GmbH VirtualBox, 01/12/2006
Répertoire Windows:                         C:\Windows
Répertoire système:                         C:\Windows\system32
Périphérique d’amorçage:                    \Device\HarddiskVolume1
Option régionale du système:                fr;Français (France)
Paramètres régionaux d’entrée:              fr;Français (France)
Fuseau horaire:                             (UTC+01:00) Bruxelles, Copenhague, Madrid, Paris
Mémoire physique totale:                    8 176 Mo
Mémoire physique disponible:                5 645 Mo
Mémoire virtuelle : taille maximale:        8 944 Mo
Mémoire virtuelle : disponible:             6 640 Mo
Mémoire virtuelle : en cours d’utilisation: 2 304 Mo
Emplacements des fichiers d’échange:        C:\pagefile.sys
Correctif(s):                               6 Corrections installées.
                                            [01]: KB5049624
                                            [02]: KB5027397
                                            [03]: KB5036212
                                            [04]: KB5050021
                                            [05]: KB5044620
                                            [06]: KB5050113

Comment by Vladislavs Sokurenko [ 2025 Feb 03 ]

Could you please be so kind and check if ZBX-25725 helps ?

Comment by Olivier Gamache [ 2025 Feb 03 ]

The agent 2 version is already 7.0.9 and the agent crash, so I think it's an other problem.

Comment by Dmitrijs Goloscapovs [ 2025 Feb 10 ]

Available in versions:

Generated at Fri Apr 18 08:54:12 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.