Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

431,778

Downloads of v 6.3.123.0:

455

Last Update:

22 Nov 2016

Package Maintainer(s):

Software Author(s):

  • NewRelic

Tags:

newrelic-dotnet newrelic dotnet .net

New Relic .NET Agent

This is not the latest version of New Relic .NET Agent available.

  • 1
  • 2
  • 3

6.3.123.0 | Updated: 22 Nov 2016

Downloads:

431,778

Downloads of v 6.3.123.0:

455

Software Author(s):

  • NewRelic

New Relic .NET Agent 6.3.123.0

This is not the latest version of New Relic .NET Agent available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install New Relic .NET Agent, run the following command from the command line or from PowerShell:

>

To upgrade New Relic .NET Agent, run the following command from the command line or from PowerShell:

>

To uninstall New Relic .NET Agent, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade newrelic-dotnet -y --source="'INTERNAL REPO URL'" --version="'6.3.123.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade newrelic-dotnet -y --source="'INTERNAL REPO URL'" --version="'6.3.123.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install newrelic-dotnet
  win_chocolatey:
    name: newrelic-dotnet
    version: '6.3.123.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'newrelic-dotnet' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '6.3.123.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller newrelic-dotnet
{
    Name     = "newrelic-dotnet"
    Version  = "6.3.123.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'newrelic-dotnet':
  ensure   => '6.3.123.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 22 Nov 2016.

Description

New Relic .NET Agent that allows you to monitor your .NET application. Package has following parameters:

-param 'license_key=newrelic_key' # Specify Your NewRelic license key
-param 'restartiis=true' # (Optional) Stop IIS service, install package, start IIS after.
-param 'license_key=your_key;restartiis=true' # Specify License key and handle IIS restarts.

This package is updated automatically to use new url when a new version comes out.


tools\chocolateyUninstall.ps1
$packageName = 'newrelic-dotnet' # arbitrary name for the package, used in messages

try {

  # http://stackoverflow.com/questions/450027/uninstalling-an-msi-file-from-the-command-line-without-using-msiexec
  $msiArgs = "/X {8BF9BF95-DD27-46E7-B4C7-49EA713B48D0} /qb"
  
  Start-ChocolateyProcessAsAdmin "$msiArgs" 'msiexec'

  Write-ChocolateySuccess $package
} catch {
  Write-ChocolateyFailure $package "$($_.Exception.Message)"
  throw
}
tools\chocolateyInstall.ps1
#NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one

$packageName = 'newrelic-dotnet' # arbitrary name for the package, used in messages
$installerType = 'msi' #only one of these: exe, msi, msu
$url = 'http://download.newrelic.com/dot_net_agent/release/NewRelicAgent_x86_6.3.123.0.msi' # download url
$url64 = 'http://download.newrelic.com/dot_net_agent/release/NewRelicAgent_x64_6.3.123.0.msi' # 64bit URL here or remove - if installer decides, then use $url
$silentArgs = '/qb INSTALLLEVEL=50' # "/s /S /q /Q /quiet /silent /SILENT /VERYSILENT" # try any of these to get the silent installer #msi is always /quiet
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx

# Defaults
$restartiis = $false





if (![string]::IsNullOrEmpty($env:chocolateyPackageParameters))
{
	if ($env:chocolateyPackageParameters.ToLower().Contains("restartiis") -or $env:chocolateyPackageParameters.ToLower().Contains("license_key"))
	{		
		# Getting Parameters
		$rawTxt =  [regex]::escape($env:chocolateyPackageParameters)
		$params = $($rawTxt -split ';' | ForEach-Object {
		   $temp= $_ -split '='
		   "{0}={1}" -f $temp[0].Substring(0,$temp[0].Length),$temp[1]
		} | ConvertFrom-StringData)


		if ($params.restartiis -eq 'true')
		{			
			Write-Host "Found 'restartiis' parameter enabled."
			$restartiis = $true
			
		}
		else
		{
			$restartiis = $false
		}
		
		if (![string]::IsNullOrEmpty($params.license_key))
		{				
			# Passing License key
			$silentArgs = $silentArgs + " NR_LICENSE_KEY=" + $params.license_key			
		}
		else
		{
			Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
		}
	}
	else
	{
		Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
	}
}
else
{
	Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
}



try { #error handling is only necessary if you need to do anything in addition to/instead of the main helpers
  
	if ($restartiis)
	{
	  # Stop IIS before installing
	  $ServiceName = "W3SVC"
	  $service = Get-Service "$ServiceName" -ErrorAction SilentlyContinue
		if ($service -ne $null)
		{
			
				Write-Host $($ServiceName+" service will be stopped")

				Stop-Service $ServiceName
				 
				echo "Sleeping for $sleep_timeout seconds"	
				
				$i = 0
				while (!(Get-Service $ServiceName | Where-Object {$_.status -eq "stopped"}))
				{	
					
					echo "Waiting for ${ServiceName} to be stopped"		
					if ($i -gt $sleep_timeout)
					{
						throw "Can't wait for ${ServiceName} to be stopped. Took longer than ${sleep_timeout}s: Timeout"
					}
					Echo "[$i]"
					Start-Sleep -s 1
					$i++
				}
				echo "${ServiceName} is stopped. Continue."
				
				Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64"  -validExitCodes $validExitCodes
				
				Write-Host "Configuring $ServiceName to autostart"
				
				Set-Service $ServiceName -startuptype "auto"
				
				Write-Host $("Starting "+$ServiceName+" service")
				Start-Service $ServiceName
		}
		else
		{	
			echo "No ${ServiceName} service found. Nothing to restart. Continue."
			Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64"  -validExitCodes $validExitCodes
		}
	}
	else
	{	
		Write-Warning "IIS will not be restarted. Please do so manually. In order to stop & start IIS automatically use parameter: -params 'restartiis=true'. "		
		Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64"  -validExitCodes $validExitCodes
	}
  
} catch {
  Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
  throw
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
New Relic .NET Agent 10.22.0 5511 Friday, March 22, 2024 Approved
New Relic .NET Agent 10.21.1 17 Monday, March 11, 2024 Approved
New Relic .NET Agent 10.21.0 7565 Wednesday, February 28, 2024 Approved
New Relic .NET Agent 10.20.2 11285 Thursday, January 18, 2024 Approved
New Relic .NET Agent 10.20.1 8146 Thursday, December 14, 2023 Approved
New Relic .NET Agent 10.20.0 2265 Saturday, December 9, 2023 Approved
New Relic .NET Agent 10.19.2 7751 Friday, November 10, 2023 Approved
New Relic .NET Agent 10.19.0 1909 Wednesday, November 8, 2023 Approved
New Relic .NET Agent 10.18.0 5216 Wednesday, October 18, 2023 Approved
New Relic .NET Agent 10.17.0 4630 Tuesday, September 26, 2023 Approved
New Relic .NET Agent 10.16.0 5562 Wednesday, September 13, 2023 Approved
New Relic .NET Agent 10.15.0 5864 Wednesday, August 30, 2023 Approved
New Relic .NET Agent 10.14.0 6192 Wednesday, August 9, 2023 Approved
New Relic .NET Agent 10.13.0 5966 Wednesday, July 19, 2023 Approved
New Relic .NET Agent 10.12.1 5215 Tuesday, June 27, 2023 Approved
New Relic .NET Agent 10.12.0 803 Tuesday, June 27, 2023 Approved
New Relic .NET Agent 10.11.0 5013 Wednesday, June 7, 2023 Approved
New Relic .NET Agent 10.10.0 16553 Thursday, April 27, 2023 Approved
New Relic .NET Agent 10.9.0 15509 Wednesday, March 29, 2023 Approved
New Relic .NET Agent 10.8.0 8951 Wednesday, March 15, 2023 Approved
New Relic .NET Agent 10.7.0 16342 Wednesday, February 15, 2023 Approved
New Relic .NET Agent 10.6.0 10128 Wednesday, January 25, 2023 Approved
New Relic .NET Agent 10.5.1 2179 Thursday, January 19, 2023 Approved
New Relic .NET Agent 10.5.0 2520 Friday, January 13, 2023 Approved
New Relic .NET Agent 10.4.0 9866 Wednesday, December 7, 2022 Approved
New Relic .NET Agent 10.3.0 16199 Thursday, October 27, 2022 Approved
New Relic .NET Agent 10.2.0 7810 Friday, October 7, 2022 Approved
New Relic .NET Agent 10.0.0 21751 Thursday, July 28, 2022 Approved
New Relic .NET Agent 9.9.0.0 15541 Thursday, June 9, 2022 Approved
New Relic .NET Agent 9.8.1.0 6183 Friday, May 20, 2022 Approved
New Relic .NET Agent 9.8.0.0 8130 Friday, May 6, 2022 Approved
New Relic .NET Agent 9.7.1.0 3752 Thursday, April 14, 2022 Approved
New Relic .NET Agent 9.7.0.0 2098 Tuesday, April 5, 2022 Approved
New Relic .NET Agent 9.6.0.0 5037 Friday, February 25, 2022 Approved
New Relic .NET Agent 9.5.1.0 2946 Friday, February 4, 2022 Approved
New Relic .NET Agent 9.5.0.0 630 Wednesday, February 2, 2022 Approved
New Relic .NET Agent 9.4.0.0 553 Monday, January 31, 2022 Approved
New Relic .NET Agent 9.2.0.0 6427 Friday, November 19, 2021 Approved
New Relic .NET Agent 9.1.1.0 2065 Wednesday, November 3, 2021 Approved
New Relic .NET Agent 9.1.0.0 525 Wednesday, October 27, 2021 Approved
New Relic .NET Agent 9.0.0.0 2071 Thursday, September 16, 2021 Approved
New Relic .NET Agent 8.41.1.0 1169 Thursday, August 26, 2021 Approved
New Relic .NET Agent 8.41.0.0 1680 Saturday, July 24, 2021 Approved
New Relic .NET Agent 8.40.1.0 1639 Wednesday, July 14, 2021 Approved
New Relic .NET Agent 8.40.0.0 2290 Wednesday, June 9, 2021 Approved
New Relic .NET Agent 8.39.2.0 1389 Friday, May 21, 2021 Approved
New Relic .NET Agent 8.39.0.0 5095 Thursday, February 11, 2021 Approved
New Relic .NET Agent 8.38.0.0 1902 Wednesday, January 27, 2021 Approved
New Relic .NET Agent 8.37.0.0 1674 Friday, January 8, 2021 Approved
New Relic .NET Agent 8.36.0.0 1771 Wednesday, December 9, 2020 Approved
New Relic .NET Agent 8.35.0.0 1728 Wednesday, November 11, 2020 Approved
New Relic .NET Agent 8.33.0.0 1533 Monday, October 12, 2020 Approved
New Relic .NET Agent 8.32.0.0 1696 Thursday, September 17, 2020 Approved
New Relic .NET Agent 8.31.0.0 2459 Monday, August 17, 2020 Approved
New Relic .NET Agent 8.30.0.0 4015 Thursday, July 16, 2020 Approved
New Relic .NET Agent 8.29.0.0 5119 Friday, June 26, 2020 Approved
New Relic .NET Agent 8.28.0.0 2361 Friday, June 12, 2020 Approved
New Relic .NET Agent 8.27.139.0 7149 Thursday, April 30, 2020 Approved
New Relic .NET Agent 8.26.630.0 4170 Monday, April 20, 2020 Approved
New Relic .NET Agent 8.25.214.0 4330 Thursday, March 12, 2020 Approved
New Relic .NET Agent 8.24.244.0 537 Thursday, February 20, 2020 Approved
New Relic .NET Agent 8.23.107.0 1963 Wednesday, January 15, 2020 Approved
New Relic .NET Agent 8.22.181.0 2278 Friday, December 20, 2019 Approved
New Relic .NET Agent 8.21.34.0 3871 Thursday, November 14, 2019 Approved
New Relic .NET Agent 8.20.262.0 3738 Thursday, October 17, 2019 Approved
New Relic .NET Agent 8.19.353.0 3161 Tuesday, October 1, 2019 Approved
New Relic .NET Agent 8.18.241.0 4605 Monday, August 26, 2019 Approved
New Relic .NET Agent 8.17.438.0 6026 Monday, July 22, 2019 Approved
New Relic .NET Agent 8.16.567.0 2183 Tuesday, June 11, 2019 Approved
New Relic .NET Agent 8.15.455.0 1939 Monday, April 22, 2019 Approved
New Relic .NET Agent 8.14.222.0 1111 Tuesday, March 19, 2019 Approved
New Relic .NET Agent 8.13.798.0 1863 Tuesday, February 12, 2019 Approved
New Relic .NET Agent 8.12.216.0 866 Thursday, January 10, 2019 Approved
New Relic .NET Agent 8.11.157.0 871 Monday, December 17, 2018 Approved
New Relic .NET Agent 8.10.51.0 967 Friday, November 30, 2018 Approved
New Relic .NET Agent 8.9.130.0 980 Thursday, November 15, 2018 Approved
New Relic .NET Agent 8.8.83.0 2071 Wednesday, October 17, 2018 Approved
New Relic .NET Agent 8.7.75.0 1028 Wednesday, October 3, 2018 Approved
New Relic .NET Agent 8.6.45.0 2454 Tuesday, August 28, 2018 Approved
New Relic .NET Agent 8.5.186.0 1014 Thursday, August 16, 2018 Approved
New Relic .NET Agent 8.4.880.0 966 Monday, July 30, 2018 Approved
New Relic .NET Agent 8.3.360.0 1747 Tuesday, June 19, 2018 Approved
New Relic .NET Agent 8.2.216.0 2606 Wednesday, May 16, 2018 Approved
New Relic .NET Agent 8.1.712.0 1239 Tuesday, May 1, 2018 Approved
New Relic .NET Agent 8.1.709.0 1127 Thursday, April 19, 2018 Approved
New Relic .NET Agent 8.0.0.0 3259 Thursday, March 8, 2018 Approved
New Relic .NET Agent 7.1.229.0 4716 Wednesday, February 21, 2018 Approved
New Relic .NET Agent 7.0.2.0 13609 Tuesday, January 23, 2018 Approved
New Relic .NET Agent 6.26.0.0 489 Tuesday, September 15, 2020 Approved
New Relic .NET Agent 6.24.0.0 163 Monday, August 26, 2019 Approved
New Relic .NET Agent 6.21.0.0 385 Thursday, February 8, 2018 Approved
New Relic .NET Agent 6.20.166.0 3571 Monday, December 18, 2017 Approved
New Relic .NET Agent 6.19.330.0 1830 Thursday, November 30, 2017 Approved
New Relic .NET Agent 6.18.139.0 4114 Thursday, November 2, 2017 Approved
New Relic .NET Agent 6.17.387.0 1063 Tuesday, October 3, 2017 Approved
New Relic .NET Agent 6.16.178.0 688 Monday, August 28, 2017 Approved
New Relic .NET Agent 6.14.209.0 860 Wednesday, July 12, 2017 Approved
New Relic .NET Agent 6.13.366.0 596 Thursday, June 15, 2017 Approved
New Relic .NET Agent 6.12.71.0 610 Thursday, May 25, 2017 Approved
New Relic .NET Agent 6.12.64.0 434 Wednesday, May 17, 2017 Approved
New Relic .NET Agent 6.12.61.0 486 Thursday, May 11, 2017 Approved
New Relic .NET Agent 6.11.613.0 492 Thursday, May 4, 2017 Approved
New Relic .NET Agent 6.10.1.0 550 Wednesday, April 5, 2017 Approved
New Relic .NET Agent 6.9.62.0 691 Wednesday, March 22, 2017 Approved
New Relic .NET Agent 6.8.172.0 721 Thursday, March 2, 2017 Approved
New Relic .NET Agent 6.7.67.0 460 Friday, February 24, 2017 Approved
New Relic .NET Agent 6.6.5.0 668 Tuesday, January 24, 2017 Approved
New Relic .NET Agent 6.4.21.0 433 Wednesday, January 4, 2017 Approved
New Relic .NET Agent 6.3.123.0 455 Tuesday, November 22, 2016 Approved
New Relic .NET Agent 5.19.47 540 Thursday, May 5, 2016 Approved
New Relic .NET Agent 5.18.36 406 Monday, April 25, 2016 Approved
New Relic .NET Agent 5.11.53 413 Thursday, December 17, 2015 Approved
New Relic .NET Agent 5.10.59 350 Wednesday, December 9, 2015 Approved
New Relic .NET Agent 5.9.74 507 Friday, November 13, 2015 Approved
New Relic .NET Agent 5.8.28 408 Monday, October 19, 2015 Approved
New Relic .NET Agent 4.6.29 465 Wednesday, May 20, 2015 Approved
New Relic .NET Agent 4.4.60 392 Thursday, May 14, 2015 Approved
New Relic .NET Agent 4.3.123 437 Thursday, April 23, 2015 Approved
New Relic .NET Agent 4.2.185 465 Wednesday, April 1, 2015 Approved
New Relic .NET Agent 4.1.136 481 Sunday, March 29, 2015 Approved
New Relic .NET Agent 3.12.140 423 Thursday, February 26, 2015 Approved
New Relic .NET Agent 3.11.296 428 Friday, January 30, 2015 Approved
New Relic .NET Agent 3.10.43.11210859 597 Friday, November 21, 2014 Approved
New Relic .NET Agent 3.10.43.11210858 365 Friday, November 21, 2014 Approved
New Relic .NET Agent 3.9.146.10301600 544 Thursday, October 30, 2014 Approved
New Relic .NET Agent 3.7.135.09291807 457 Tuesday, September 30, 2014 Approved
New Relic .NET Agent 3.6.177.09151155 471 Monday, September 15, 2014 Approved

This package has no dependencies.

Discussion for the New Relic .NET Agent Package

Ground Rules:

  • This discussion is only about New Relic .NET Agent and the New Relic .NET Agent package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or New Relic .NET Agent, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus