In order for the OS collections to work in the Database Agents with Windows, Windows Management Instrumentation (WMI) or Windows Remote Management (WinRM) is required for remote monitoring access.
*** This is the preferred connection method for monitoring Windows Servers ***
In order to establish connections over Windows Remote Management (WinRM), you must provide a Windows credential. WinRM setup details are available in the Agent Manager documentation. Further details are also here KB 185163.
Instructions for using a quick configuration to set up WinRM without encryption is available in KB 238657.
Note: If you use WinRM basic authentication a local user account is needed, instead of domain user account. But the database OS credential setup is asking for a domain as the database agent expect a user name in this format: domain\user. As no domain is available, please enter the host name of the monitored host in the domain field when configuring the credential.
Please consult the latest version of the Foglight Agent Manager User Guide (available for download from here) for more details on configuring WinRM to monitor Windows hosts.
WinRM uses a set of default ports for communication. Depending on the WinRM version, the following port numbers are used:
KB 185163 details firewall port requirements for WinRM monitoring.
To remotely monitor a Windows machine, some Foglight agents require access to the WMI services, and specifically to the WMIConnectionService.
Best practices would be to have a Local Admin user on the Monitored Host to be used by the Agent as its OS user. If the OS user cannot be a member of the Local Admin group, review KB 102431 for details on setting permissions for the Remote User on both DCOM and WMI components.
NOTE: If agent is not able to collect all metrics even after following the steps in KB 102431, the please add the OS user to the local administrator group. The workaround below does not fit for all environments.
Additional information on configuring WMI is available in the latest version of the Foglight Agent Manager User Guide (available for download from here).
Windows registry changes are often necessary on the monitored Windows server for WMI connections from Linux-based FglAMs to be successful.
WMI uses RPC which listens on port 135 but then allocates a dynamic port for further communications. A rule must be configured on the Firewall to always allow the TCP port 135 and either the dynamic or static RPC ports.
KB 185163 details firewall port requirements for WMI monitoring.
KB 114559 includes additional details on configuring Windows to use static port for WMI.
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center