Use WMI and performance counters to monitor remote server permission settings
Zookeeper Application Scenario: on a web server, WMI is used in. NET encoding to query some hardware configuration information of the remote server, and performance counters are used to query the running resource usage of the remote machine. We have not found any related information on the Internet. We share this record with you. Add the web server and all remote servers to the same domain and create a domain account. Add the following configuration in web. config of the web site:
Add the domain account to Performance Monitor Users so that the domain account has the permission to remotely access Performance counters.
2. Enable WMI permission to set security labels
3. Select CIMV2, add a domain account, and select enable account, remote enable, and read permission items so that the domain account can remotely access WMI.