-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLPI Agent 1.12 does not retrieve antivirus information (GLPI 10.0.18) on Windows Server 2022 Datacenter Azure Edition #868
Comments
Hi @Kisoune maybe "Windows Server 2022 Datacenter Azure Edition" doesn't provide expected datas. Due to Microsoft restriction, on desktop, we can use WMI dedicated objects, but on servers, we can only rely on detecting a dedicated service. Can share the output of the following commands from that kind of server ?
|
Hi @g-bougard
wmic:ERROR
wmic:ERROR
AMEngineVersion=1.1.25010.7 AMProductVersion=4.18.25010.11 AMRunningMode=Normal AMServiceEnabled=TRUE AMServiceVersion=4.18.25010.11 AntispywareEnabled=TRUE AntispywareSignatureAge=0 AntispywareSignatureLastUpdated=20250311015218.000000+000 AntispywareSignatureVersion=1.423.336.0 AntivirusEnabled=TRUE AntivirusSignatureAge=0 AntivirusSignatureLastUpdated=20250311015218.000000+000 AntivirusSignatureVersion=1.423.336.0 BehaviorMonitorEnabled=TRUE ComputerID=BDD30981-EC61-41FD-9F2F-6CD7438FEA4B ComputerState=0 DefenderSignaturesOutOfDate=FALSE DeviceControlDefaultEnforcement= DeviceControlPoliciesLastUpdated=16010101000000.000000+000 DeviceControlState=Disabled FullScanAge=4294967295 FullScanEndTime= FullScanOverdue=FALSE FullScanRequired=FALSE FullScanSignatureVersion= FullScanStartTime= InitializationProgress=ServiceStartedSuccessfully IoavProtectionEnabled=TRUE IsTamperProtected=TRUE IsVirtualMachine=TRUE LastFullScanSource=0 LastQuickScanSource=2 NISEnabled=TRUE NISEngineVersion=1.1.25010.7 NISSignatureAge=0 NISSignatureLastUpdated=20250311015218.000000+000 NISSignatureVersion=1.423.336.0 OnAccessProtectionEnabled=TRUE ProductStatus=524288 QuickScanAge=126 QuickScanEndTime=20241105043428.413000+000 QuickScanOverdue=FALSE QuickScanSignatureVersion=1.421.93.0 QuickScanStartTime=20241105043311.666000+000 RealTimeProtectionEnabled=TRUE RealTimeScanDirection=0 RebootRequired=FALSE SmartAppControlExpiration= SmartAppControlState=Off TamperProtectionSource=ATP TDTCapable=N/A TDTMode=N/A TDTSiloType=N/A TDTStatus=N/A TDTTelemetry=N/A TroubleShootingDailyMaxQuota= TroubleShootingDailyQuotaLeft= TroubleShootingEndTime= TroubleShootingExpirationLeft= TroubleShootingMode= TroubleShootingModeSource= TroubleShootingQuotaResetTime= TroubleShootingStartTime=` PS CUsersXXXXX wmic path Win32_Serv.txt
Caption=SentinelOne Agent Log Processing Service |
Weird, to me, at least Windows Defender should be reported with the provided datas. We don't have support actually for SentinelOne. Is it detected on Desktop computers ? And if yes, does it report every expected data ? Can you share eventually previous commands run on Desktop where SentinelOne is installed (the 3 first ones, the one for Win32_Service is not required for desktop computers). Can you also share the output of the following command to generate a partial antivirus inventory ? Run it in an administrative console and on server and desktop computers. You can also share the generated av.json inventory file but only keeping the "antivirus" json node to not share any sensible data.
Do you know how to retrieve SentinelOne AV status datas ? |
It seems to be working for SentinelOne on desktops. We are actually retrieving the name, version, manufacturer, and whether the agent is active and updated. When I check GLPI's history on a computer, it states that the information was added by user inventory. Find below the information you requested: CUsersXXXXXXXwmic namespacerootSecu.txt when I try the same command on server it's showing only hardware and bios data.
|
Okay for SentinelOne on Desktop: Only it is enabled and which AV version are provided. There's nothing related to a license expiration or base version. That parts are actually not supported and may not be indeed required. Let us know if this is totally sufficient from your point of view. About the case on server, I requested the command output, not just generated json, so including all the debug log as maybe we missed something from there. I don't see it in the datas you provided. |
Hi @Kisoune I still need the requested command output. For SentinelOne on Windows Server, can you check if there's a registry key I can check for interesting values ? I need SentinelOne version and eventually to know if it is up-to-date and what's the virus database version. This could also help for Desktop support too. |
Hi @g-bougard Which data are missing ? I put the output of the 3 command wmic in the .txt file. The Json file called "Computer av.json" is for the computer part you asked with the debug command for server there's no AV node only bios and data. I'll check for the registry key on the server. |
The "command output" means also what you should see on the command line: all the script debug lines. You didn't share them. I need to see the debug lines from Win32::Antivirus module. |
You are right, I misunderstood what you asked me. Here are the two files you meant: |
Okay, the output remembers me I added SentinelOne support for linux and MacOSX, but not for Windows as I didn't have sufficient datas. Maybe you'll have the missing part. Do you have a command like |
Assuming Extract the included |
Yes, we have Sentinelctl.exe in C:\Program Files\SentinelOne\Sentinel Agent 23.4.4.223 |
Thank you @Kisoune
For Anyway, can you test the following updated module ? |
Humpf, sorry, saw few typos in the module. Here is my last (I hope) version: |
Bug reporting acknowledgment
Yes, I read it
Professional support
None
Describe the bug
Hello,
We are experiencing an issue with the GLPI Agent (version 12) installed on our servers. It does not retrieve information about the installed antivirus, while the same agent works correctly on workstations.
System Information:
GLPI Version: 10.0.18
GLPI Agent Version: 12.0
Affected Systems: Windows Server 2022 Datacenter Azure Edition
To reproduce
Expected behavior
Installed antivirus software (e.g., Windows Defender, SentinelOne..) is not detected in GLPI.
On Windows 10/11 workstations, antivirus information is retrieved correctly.
Operating system
Windows
GLPI Agent version
v1.12
GLPI version
10.0.17
GLPIInventory plugin or other plugin version
Not applicable
Additional context
We would like to know if this is a known bug or a configuration issue specific to servers. Is there a fix or a workaround for this issue?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: