With Infrastructure for Windows, you can monitor not only individual servers, but understand how your service performs as a whole. The Windows agent can run on your own hardware, or in cloud systems such as Amazon EC2 or Windows Azure. Infrastructure supports Windows Server and many Linux distributions. Before installation, review the Compatibility and requirements.
You can also install the Windows agent with Chef.
Install for Windows Server
To install the Infrastructure agent on Windows Server:
Do not double-click the installer. This will not fully install the local agent and can result in permissions issues.
Review the agent requirements and supported operating systems. The agent is only compatible with 64-bit architectures.
Download the latest .MSI installer image from:
In an admin account, run the install script using an absolute path. To install from the Windows command prompt, run:
msiexec.exe /qn /i PATH\TO\newrelic-infra.msi
For a scripted installation, you can also pass in configuration parameters. The following example sets the license key and configures a proxy server for outbound communication:
msiexec.exe /qn /i PATH\TO\newrelic-infra.msi GENERATE_CONFIG=true LICENSE_KEY="YOUR_LICENSE_KEY" PROXY="http://YOUR_PROXY_SERVER:PROXY_PORT"
Add your New Relic license key to the
newrelic-infra.yml, located in
C:\Program Files\New Relic\newrelic-infra\. When finished, the contents of
newrelic-infra.ymlshould resemble the following:
newrelic-infraservice. To start from the Windows command prompt, run:
net start newrelic-infra
The only required configuration option is the
license_key setting, which is created as part of the installation procedures. You may also want to:
- Add custom attributes to annotate your Infrastructure data.
- Connect your AWS account if your servers are hosted on Amazon EC2.
- Add other New Relic Infrastructure integrations to collect data from external services.
- Manually start, stop, restart, or check the agent status.
Update the agent
To upgrade to the latest version, see Update the Infrastructure agent.