Dynatrace provides you with a framework that you can use to extend your observability into data acquired directly from your Windows Management Instrumentation (WMI) monitored devices.
We assume the following:
Learn the prerequisites and scope of the supported technologies. For limits applying to your extension, see Extensions 2.0 limits.
Local WMI extensions can be run on any OneAgent-supported Windows host without any special requirements. Make sure Extension Execution Controller (EEC) is enabled at the environment or selected host level. For more information, see Extension Execution Controller.
A host you want to monitor using a remote WMI extension must meet the requirements described below, including remote permissions enabled and connectivity details configured to allow your ActiveGate to access the WMI monitoring data.
A monitored host must have the Remote enable permission set.
For more information, see Allowing Users Access to a Specific WMI Namespace in the Microsoft documentation.
To configure the firewall to access remote WMI, issue the following commands:
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
and
netsh firewall set service RemoteAdmin enable
For more information, see Setting up a Remote WMI Connection in the Microsoft documentation.
Disable Remote UAC when using a local administrator account (without Active Directory).
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name LocalAccountTokenFilterPolicy -PropertyType DWord -Value 1 -Force
For more information, see Handling Remote Connections Under UAC in the Microsoft documentation.
To establish a connection to a WMI remote host, you need to use either a standard user or a user with administrator privileges, depending on the kind of data you want. You will add this user in monitoring configuration. We recommend that you create a dedicated local user group or user account on the target computer specifically for remote connections.
To limit user privileges to access only a remote connection to WMI
DCOMCNFG
command.For more information, see the Microsoft documentation:
winmgmt -standalonehost
net stop winmgmt
net start winmgmt
netsh firewall add portopening TCP 24158 WMIFixedPort
For more information, see Setting Up a Fixed Port for WMI in the Microsoft documentation.