Zip assisted install of Infrastructure for Windows

With the assisted install of the Infrastructure agent for Windows, you can make the changes you need to the installation script we provide so you can adapt it to your environment. Before installation, make sure to check the compatibility and requirements.

Install the agent

To install the agent:

  1. Download the packaged agent file.

  2. Unpack the file.
  3. Make sure the file unpacks with the following structure:

    Unpacked structure - zip.png
  4. Once it's unpacked, access and edit the installation PowerShell script installer.ps1.

  5. Update your license key.
  6. Optional: Update any other parameters.
  7. Execute installer.ps1 with admin rights.

Configure your installation

You can configure the following parameters during the assisted install for Windows:

Variable Description

NRIA_AGENT_DIR

Required at agent startup.

The agent home directory.

Default:

/var/db/newrelic-infra/

NRIA_APP_DATA_DIR

This configures the data directory to store inventory and other agent files.

Default:


C:\ProgramData\New Relic\newrelic-infra

NRIA_CONFIG_FILE

Required at installation.

The agent configuration file's location.

Default:

/etc/newrelic-infra/yml

NRIA_LICENSE_KEY

Only configuration option required at startup.

The New Relic Infrastructure agent license key.

NRIA_LOG_FILE

Required at agent startup.

The location where the agent will log.

Default:

/var/run/newrelic-infra/newrelic-infra.log

NRIA_OVERWRITE

By default and for security reasons, Windows does not install a service if there's another service with the same name already installed. To bypass this check, make sure this setting NRIA_OVERWRITE is TRUE.

Default:

TRUE

NRIA_PLUGIN_DIR

Required at agent startup.

The directory containing the configuration files of the integrations.

Default:

/etc/newrelic-infra/integrations.d/

NRIA_SERVICE_NAME

This provides the name for the Windows service.

What's next?

You may also want to:

For more help

Recommendations for learning more: