March 1, 2023
Diagnostics CLI (nrdiag) v2.3.0
Changes
Base
- Base/Collector/ConnectUS - Updated to check the connection using https://collector.newrelic.com/jserrors/ping instead of mongrel
- Base/Collector/ConnectEU - Updated to check the connection using https://collector.eu.newrelic.com/jserrors/ping instead of mongrel
- Base/Collector/ConnectTLS - New task that uses https://connection-test.newrelic.com to confirm the host is connecting with TLS 1.2
.NET APM Agent
- Dotnet/Profiler/TLSRegKey - New task to confirm the TLS related registry settings for .NET are set correctly for TLS 1.2 per this document
Infrastructure
- Infra/Agent/Version - Updated to check the release date of the installed agent version and report a failure if it is an unsupported version
- Infra/Agent/Connect - Updated to check the full list of domains listed in here
August 18, 2022
Diagnostics CLI (nrdiag) v2.2.5
Changes
- Infra/Log/Collect and Infra/Log/LogLevelCheck - Updated to support new configuration options available for the Infrastructure agent
- DotNetCore/Agent/Installed - Updated to support new install location of the .NET agent
- DotNetCore/Env/Versions - Updated to use
dotnet --infofor determine what versions of .NET Core are installed. If that fails, it will fall back ondotnet --version, then if both of those commands fail, it will look for the .NET Core installation directories
July 12, 2022
Diagnostics CLI (nrdiag) v2.2.1
Changes
New Relic APM
- PHP/Agent/Version - updates warning if there are multiple versions
Operating System
- Builds for arm64
Bug Fixes
- Upload process optimized
May 17, 2022
Diagnostics CLI (nrdiag) v2.2.0
New Feature
-includecommand line flag- Specify a file or directory to include in the
nrdiag-output.zipfile. You can use relative or absolute paths. Use this along with-attachto upload the file(s) to your New Relic account. - Example usage:
./nrdiag -include ./path/to/file - Read more here!
- Specify a file or directory to include in the
May 10, 2022
Diagnostics CLI (nrdiag) v2.1.0
Changes
Attachments
- Deprecated command line flag
-attachment-keyfor automatic upload to a support ticket. Please use the-attachflag to upload to your New Relic account instead. Data uploaded with-attachcan be viewed here: https://one.newrelic.com/diagnostics-cli-output
October 13, 2021
Diagnostics CLI (nrdiag) v2.0.0
Changes
Attachments
- Command line flag
-aor-attachment-keyis now-akor-attachment-key - New command line flag
-aor-attachneeds no arguments to be supplied to it- Uploads Diagnostics output to a New Relic account
- Removed command line flag
-file-uploadfor arbitrary single files uploads - All output is uploaded to S3 if specified with
-attachor-attachment-key
New Relic APM
- Node/Env/Versions - Node 10 is no longer compatible with New Relic Node.js Agents 8.0.0.0 and above
Bug Fixes
- Infra/Config/IntegrationsValidateJson - JSON validation of OHIS is now compatible with the new and old format for validation of OHIS
April 1, 2021
Diagnostics CLI (nrdiag) v1.12.35
Changes
- Node/Config/Agent - Checks for configuration by environment variables
- Base/Config/Collect - Report secure files rejected for collection in task summary
- Base/Config/ValidateLicenseKey - Gives warning instead of failure in case its an ingest key
- Attachments - Fix issue where automatic attachments to support tickets would fail
- Task Errors Now provide guidance on where to report them
February 3, 2021
Diagnostics CLI (nrdiag) v1.12.33
New
- Base/Log/Copy - It will check for the .NET log files path by looking into
NEWRELIC\_PROFILER\_LOG\_DIRECTORYandNEW\_RELIC\_LOGenvironment variables. - Browser/Agent/GetSource - This validation will now detect when the browser script is not in the head tag
Changes
- Dotnet/Env/Target - Now validates .NET agent is compatible with versions 4.8 and 5.0 for .NET framework.
- Java/JVM/VendorsVersions - It will validate open JDK 7.15 and HotSpot 7.15
January 11, 2021
Diagnostics CLI (nrdiag) v1.12.32
New
- Diagnostics CLI will validate the Java agent configuration that has been done through Java System Properties.
- Infra/Env/NrjmxBeans - Validates that the mbeans that the user wants to query with the New Relic JMX integration are available for the integration to pull from. This task is available for Linux and Windows.
- Infra/Env/ValidateZookeeperPath - Validates that the setting for zookeeper_path (found in kafka-config.yml) is a valid path for the New Relic Kafka integration.
Bug fixes
- Java/Env/Process - This task validates that the New Relic Java agent jar has been correctly added to the -javavagent argument. However, previously, it would only validate those jars that were explicitly named newrelic.jar. We have changed that behavior to look for a jar that could include that version in the filename.
- Infra/Config/ValidateJMX - The nrdiag-output.json will include information about the Java version and non-sensitive command line arguments for JMX. This data is mainly relevant for Support troubleshooting. Additionally, this health check now can run on Windows.
- Java/JVM/Permissions - It will not validate permissions for a log path that has been commented out from the Java agent config file.
- Infra/Config/IntegrationsMatch - This validation will no longer require the presence of on-host integration (OHI) definitions files when the user has an infrastructure agent 1.8.0 or newer and the OHI config file is using the newer configuration format.
Changes
- The product will now be known as Diagnostics CLI
- Diagnostics CLI is proud to announce that is codebase is now part of New Relic's Open Source Community: https://github.com/newrelic/newrelic-diagnostics-cli
January 11, 2021
Diagnostics CLI (nrdiag) v1.11.31
New Checks
- Base/Java/ValidateSettings - Performs type validation of the values provided in the Java agent configuration file.
Changes
- Base/Env/SELinux - This check is now included in the
minionsuite of tasks with the command flag-suites minion. - Base/Config/Validate - It will now validate a config file that a customer has collected using command flag
-config-file.