2015/4/16

Configuring Windows for Remote Monitoring with WMI

網路上範例很多
節錄其中一個

補充:
如果LINUX上面用wmic要抓資料
還需要將使用者加入到

Performance Monitor USER

還需要將使用者加入到

Performance Monitor USER

還需要將使用者加入到

Performance Monitor USER



因為很重要所以要說三次
REMARK:
 Remote Desktop Users加入這個群組之後,才能抓到2003的TS 數目

from:
https://support.software.dell.com/zh-cn/foglight-for-virtualization-enterprise-edition/kb/129359

Minimum Requirements for Windows Management Instrumentation


STEPS:
To grant DCOM permissions to a remote user:
1. On the monitored host machine, at the Windows Run prompt, type DCOMCNFG and press Enter.
2. In the Component Services dialog box that opens, navigate to Component Services > Computers > My Computer.
3. Right-click My Computer and click Properties.
4. In the My Computer Properties dialog box, click the COM Security tab.
5. In the Launch and Activation Permissions area, click Edit Limits.
6. In the Launch Permission dialog box, add the user or group name necessary for the remote user.
7. Grant the remote user all the permissions available in the Permissions for Administrators area by enabling all the check boxes in the Allow column.
8. Click OK and close the dialog boxes.
To grant minimum WMI permissions to a remote user:
1. On the monitored host machine, right-click on My Computer, and navigate to Manage > Services and Applications > WMI Control.

2. Right-click WMI Control and click Properties.

3. In the WMI Control Properties dialog box, click the Security tab.

4. Expand the Root node and select CIMV2, then click Security.

5. In the Security for ROOT\CIMV2 dialog box Security list, select the remote user.

6. Enable the following check boxes in the Allow column:

a. Execute Methods
b. Enable Account
c. Remote Enable
d. Read Security


7. Click Apply and then click OK.

 

沒有留言:

JPA+complex key+custom Query

  來源: https://www.cnblogs.com/520playboy/p/6512592.html   整個來說,就是有複合主鍵 然後要使用  public interface XxXXxx DAO extends CrudRepository<Tc...