You can use the following command line options with the Diagnostics CLI:
Attachment key for automatic upload to a support ticket.
Diagnostics CLI version 1.1.9 or higher
When invoked, this will only run diagnostics checks related to browser monitoring. This command checks that New Relic's browser monitoring agent is present and returns the agent version, the injection method (via APM or via copy/paste), and the loader type (Pro, Lite, SPA). This can be used to provide detail to New Relic Support when troubleshooting intranet sites.
Override default agent configuration file location. Can be used to specify either a folder to search in addition to the default folders, or a path to a specific configuration file.
Diagnostics CLI version 1.1.8 or higher
Requires running with
Filter task results by result status. Accepts a comma separated list. Accepts:
Displays full list of options.
Specifies a different directory to write the results (
Pass in arguments to override. This should generally only be done when requested by New Relic Support.
Provide proxy to be used in HTTP connection tasks. Can be HTTP or HTTPS. Proxy should be in the format
Proxy password, if necessary. If the Diagnostics CLI finds a proxy in the agent config file, it will use that proxy by default.
Proxy username, if necessary. If the Diagnostics CLI finds a proxy in the agent config file, it will use that proxy by default.
Run a suite, a collection of tasks that target specific products or issues. You can specify multiple suites by separating them with commas. For a list of all suites, run:
Run only a subset of tasks, either by agent or by task type. You can specify multiple tasks by separating them with commas. For a list of all tasks, run:
Decline to send anonymous Diagnostics CLI tool usage data to New Relic for this run.
Display verbose logging during check execution. Disabled by default.
Display current Diagnostics CLI version. This also prompts to check for a newer version and prompts to download if a newer version is available.
Say yes to any prompt that comes up while running. Disabled by default.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.