#Windows

Check Version

You may need the verify the version of the Windows agent you’re currently using. Open the [Element Detail panel][1] for a WINSRV element. Navigate to Attributes (squared in green). Verify that the agent (squared in blue) contains the correct version number. [1] :/data-visualization/inventory

Custom Metrics

You can create additional Windows performance counters to add custom metrics monitored by Metricly. Add Custom Metrics 1. Open the Add Counters window Open perfmon (Performance Monitor) on your computer. Click Performance Monitor in the Monitoring Tools folder. A graph generates. Click Add above the graph. An “Add Counters” window opens. Leave the window open. 2. Prepare a new Counter Navigate to the ReadWindowsPerfCounters file (C:\Program Files\CollectdWin\config) and open it.

Manual Install

Manually Install the Windows Agent Download the latest Windows Agent. Ensure you download the correct version for your environment. Run the setup wizard and follow the instructions to install it. Navigate to the** WriteNetuitive.config** file (C:\Program Files\CollectdWin\config or C:\Program Files (x86)\CollectdWin\config depending on your environment. Open the file and locate the line <WriteNetuitiveURL="https://api.app.metricly.com/ingest/windows/{apikey}" />. Replace {apikey} in the URL with the API key generated in step 1. Save the file and restart the agent.

Plugins

There are two types of Windows plugins: Read (which allow our Windows agent to read data) and Write (which allow our Windows agent to write data). The following plugins are enabled by default: ReadWindowsPerfCounters ReadWindowsAttributes ReadWindowsEvents WriteNetuitive This configuration is recommended for monitoring a Windows server with Metricly. Other Read/Write plugins are available as documented below (note that the Write Console plugin has no configuration settings). Enable/Disable To change which plugins are enabled, edit the CollectdWin.

Proxy

Determining if you have a proxy enabled Open Internet Explorer. Click the Tools icon, and then click Internet Options. On the Connections tab, click LAN settings. If any of the checkboxes are selected and the appropriate information is filled out, you may need to configure proxy settings to enable data being posted by the agent on your server. Configuring the proxy Add the following to the end of the CollectdWinService.

Troubleshooting

Logs are written to C:\ProgramData\CollectdWin\CollectdWin.log by default. Errors are written to the Event Log. To adjust the log file level, edit the line below near the end of the CollectdWinService.exe.config: Navigate to C:\Program Files\CollectdWin\config or C:\Program Files (x86)\CollectdWin\config. Edit<logger name="*" writeTo="default" minlevel="[Trace/Debug/Info/Warn/Error/Fatal]" />. Save file. Windows Server 2003 If you are monitoring a Windows Server 2003 instance and are having trouble seeing data in Metricly, you may need to install a hotfix from Microsoft.

Uninstall

Open the Programs and Features list. Right click the CollectdWinService (64 bit) program. Click Uninstall. If any prompt appears, click Yes to confirm that you want to delete the program.

Upgrade Agent

To upgrade the Windows agent, follow the installation steps listed on the main Windows Integration page using the version of the agent you wish to upgrade to. The latest versions of the agent can be downloaded from the agent repo and details of the releases can be found on the Github project page. Installing a new version of the agent will overwrite changes you have made to existing agent configuration files located in C:\Program Files\CollectdWin\config or C:\Program Files (x86)\CollectdWin\config depending on your environment.

Windows Agent

The Metricly Windows Agent is a Microsoft Windows service that collects, aggregates, and publishes windows performance counters and attributes. Microsoft SQL Server, IIS, and .NET metrics are native to our Windows Agent. Only one Windows integration in your account is necessary to receive all Windows-related metrics. Configure Installation is as easy as executing an MSI installer and configuring the service. The agent is pre-configured to send the most important performance metrics, windows events, and system attributes to Metricly.

Windows Agent Metrics

Collected Friendly Name Fully Qualified Name (FQN) Description Statistic Units Min Max Sparse Data Strategy (SDS) BASE CORR UTIL Avg. Disk Queue Length logical_disk.*.avg_queue_length Average queue length for the logical disk. average count 0 none none yes no no Free Megabytes logical_disk.*.megabytes_free Space free on the logical disk expressed in megabytes. average megabytes 0 none none yes no no % Free Space logical_disk.