DCIs System.AntiVirus broken
-
-
Hi!
It seems to be working on my system:
C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.Active 1 C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.DisplayName Microsoft Security Essentials C:\Source\NetXMS\x64\debug>nxget -e0 127.0.0.1 system.AntiVirusProduct.UpToDate 1 C:\Source\NetXMS\x64\debug>I've added additional debug to the agent to determine why it fails. I can provide you with intermediate agent build if you wish to test it.
Best regards,
Victor -
I use it for Win2012R2 nodes. When I re-enable my Test-DCI, I get a SYS_DCI_ACTIVE event and in 'Last Values' the value '<< ERROR >>'.
./nxget -e2 -a sha1 -s secret -Z secret 172.16.10.141 system.AntiVirusProduct.Active
500: Internal errorIf you can give me the test build for Win_x64, I can test for you.
thanks
Dani -
-
-
Hi!
Can you check with some WMI tool that namespace root\SecurityCenter2 is available and that user agent is running under can access it?
Best regards,
Victor -
I'm not a WMI specialist but I tested on command line:
wmic /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName,productState /Format:Listand got a 'name space not found' message.
From a search in the internet: The name space root/SecurityCenter2 is not available on Windows Server (there is no SecurityCenter service)! I installed the NetXMS agent on a Win7 machine and there I got an answer with the DCI.
For System.AntiVirusProduct.Active, result '1' is ok? -
I don't work much with Windows lately, so I miss this fact. Yes, 1 is ok and 0 is not ok (not running or not up to date). I'll check if it is possible to get antivirus and firewall state via WMI on Windows Server.
Best regards,
Victor -
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login