To use the following command line options with the Diagnostics CLI:
Attachment endpoint to include with the support ticket.
Attach for automatic upload to a New Relic account. This uses a validated license key from your environment.
Attachment key for automatic upload to a support ticket. This gets the attachment key from an existing ticket. (Note: this functionality will be removed soon. Please use the automatic upload option above)
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). To 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.
Filter task results by result status. Accepts a comma separated list. Accepts
Display complete list of command line options. To list all tasks to be run, use
Specifies a different output directory to write the results for
Pass in arguments to override when requested by New Relic Support. Format:
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.
Quiet output only prints the high-level results and not the explanatory output. Suppresses file addition warnings if
Very quiet output only prints a single summary line for output (implies
Skip the automatic check for a newer version of the application. Type: bool
Run a suite, a collection of tasks that target specific products or issues. To specify multiple suites, separate them with commas. To get a list of all suites, run:
Run only a subset of tasks, either by agent or by task type. To specify multiple tasks, separate them with commas and/or with a wildcard
Decline to send anonymous Diagnostics CLI tool usage data to New Relic for this run. Type: bool
Display verbose logging during check execution. Disabled by default. Type: bool
Displays current Diagnostics CLI version. This also prompts to check for a newer version and prompts to download if a newer version is available.
Takes precedence over