-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Deleting-some-dummy-docs-' into clang/update-nav-file-n…
…odes
- Loading branch information
Showing
28 changed files
with
274 additions
and
60 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
...content/docs/accounts/accounts-billing/general-account-settings/manage-data.mdx
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+30.7 KB
...pplied-intelligence/new-relic-alerts/get-started/images/create-alert-button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+42.4 KB
...lerts-applied-intelligence/new-relic-alerts/get-started/images/find-builder.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.3 KB
...applied-intelligence/new-relic-alerts/get-started/images/nrql-create-policy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26.5 KB
.../alerts-applied-intelligence/new-relic-alerts/get-started/images/nrql-query.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.9 KB
...applied-intelligence/new-relic-alerts/get-started/images/nrql-set-threshold.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+412 KB
...ed-intelligence/new-relic-alerts/get-started/images/query-builder-locations.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+150 KB
...ts-applied-intelligence/new-relic-alerts/get-started/images/show-nrql-graph.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions
84
...applied-intelligence/new-relic-alerts/get-started/your-first-nrql-condition.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
title: Write your first NRQL alerts condition | ||
tags: | ||
- Alerts and Applied Intelligence | ||
- New Relic Alerts | ||
- Alert conditions | ||
- NRQL | ||
metaDescription: How to start writing NRQL alerts conditions with a step-by-step user case. | ||
--- | ||
|
||
Use our [New Relic query language (NRQL)](/docs/query-your-data/nrql-new-relic-query-language/get-started/introduction-nrql-new-relics-query-language/) to create alerts conditions with ease. | ||
|
||
Your condition describes what you want to be notified about, and only requires two attributes: a query and a threshold. The query defines the data that's important to you, and determines what you want to be notified about. The threshold determines when you’ll be notified. | ||
|
||
Follow these steps to write your first alerts condition using a NRQL query and a threshold. Once you're done, you'll have a working alert condition. | ||
|
||
## Step 1: Write your query [#step1-nrql] | ||
|
||
In this example, a condition is created for each host's CPU utilization (query), which will trigger a notification when the CPU utilization is above 70% (threshold). | ||
|
||
You can use a NRQL query to return data about how your environment is performing. Then you can create a condition from that query. Find the [NRQL query builder](/docs/query-your-data/explore-query-data/query-builder/use-advanced-nrql-mode-query-data/) at the top of the UI. | ||
|
||
![A screenshot showing where you can find the NRQL query builder button in New Relic One.](./images/find-builder.png 'A screenshot showing where you can find the NRQL query builder button in New Relic One.') | ||
|
||
<figcaption> | ||
Click the **Query your data** button to open the query builder and start writing a NRQL query. Once you've written a valid query, you can create a condition from it. | ||
</figcaption> | ||
|
||
The condition shows each host’s CPU utilization. Use this NRQL query, or something similar that's relevant to what you're monitoring, to create a condition. | ||
|
||
![A screenshot of a NRQL query that finds the average CPU utilization faceted by hostname.](./images/nrql-query.png 'A screenshot of a NRQL query that finds the average CPU utilization faceted by hostname.') | ||
|
||
<figcaption> | ||
This query finds the average CPU utilization in an environment and then breaks it | ||
down (facets) by individual host names. | ||
</figcaption> | ||
|
||
Once you've created a valid NRQL query, click the **Create alert** button. | ||
|
||
Learn more about the [NRQL syntax](/docs/query-your-data/nrql-new-relic-query-language/get-started/introduction-nrql-new-relics-query-language/#syntax) to create a variety of queries. | ||
|
||
## Step 2: Name and revise your NRQL condition [#step2-nrql] | ||
|
||
Give your NRQL condition a name that's meaningful to you. Your query's visualization is shown automatically. | ||
|
||
![The query's visualization shows each host’s average CPU utilization.](./images/show-nrql-graph.png 'The query's visualization shows each host’s average CPU utilization.') | ||
|
||
<figcaption> | ||
The query's visualization shows each host’s average CPU utilization. A critical violation will open if any host’s average CPU utilization is over 70%. A warning threshold is met at 67%. | ||
|
||
Warning thresholds are described below. | ||
</figcaption> | ||
|
||
## Step 3: Set your condition thresholds [#step3-nrql] | ||
|
||
Set critical and warning thresholds to determine when you’re notified about your environment's performance. | ||
|
||
In this example, our critical threshold (red) checks for any hosts with CPU utilization over 70% for at least 5 minutes. A warning threshold (yellow) is also added showing when any host's CPU utilization goes over 67% for at least 5 minutes. | ||
|
||
![A visualization of the NRQL query with critical and warning threshold lines.](./images/nrql-set-threshold.png 'A visualization of the NRQL query with critical and warning threshold lines.') | ||
|
||
<figcaption> | ||
Use the **Set your condition thresholds** section to set the critical and warning thresholds for your condition. | ||
</figcaption> | ||
|
||
A critical threshold is required for your alerts condition. [Warning thresholds](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/set-thresholds-alert-condition/#threshold-levels) are optional. | ||
|
||
Warning thresholds don't create an incident or notify you like the critical threshold does. If a critical threshold opens an incident and notifies you, warning threshold violations created after will be included in the report. | ||
|
||
## Step 4: Create a policy | ||
|
||
Finally, add your condition to an existing policy or create a new one. | ||
|
||
![A screenshot of the Policy section for the Create alert form.](./images/nrql-create-policy.png 'A screenshot of the Policy section for the Create alert form.') | ||
|
||
<figcaption> | ||
When you create a new policy, you can group your violations by policy, condition, or by violation (this creates an incident for each violation). These [incident preferences](/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/) settings determine how frequently you're notified when there's a violation. | ||
</figcaption> | ||
|
||
## What's next? [#nextsteps-nrql] | ||
|
||
Now that you've created your first condition, set up your [incident preferences](/docs/alerts-applied-intelligence/new-relic-alerts/alert-policies/specify-when-alerts-create-incidents/) and [notification channels](/docs/alerts-applied-intelligence/new-relic-alerts/alert-notifications/notification-channels-control-where-send-alerts/). | ||
|
||
For a detailed, comprehensive overview of NRQL conditions, see [Create NRQL alert conditions](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/create-nrql-alert-conditions/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...ility/instrument-everything/develop-own-integrations/flex-integration-dummy.mdx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.54 KB
...infrastructure/install-infrastructure-agent/get-started/images/mac-osx-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.54 KB
...ructure/install-infrastructure-agent/macos-installation/images/mac-osx-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions
90
...ture-agent/macos-installation/install-infrastructure-monitoring-agent-macos.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: Install the infrastructure monitoring agent for macOS | ||
tags: | ||
- Infrastructure | ||
- Install the infrastructure agent | ||
- macOS installation | ||
translate: | ||
- jp | ||
metaDescription: 'Install New Relic infrastructure monitoring agent for macOS using Homebrew.' | ||
--- | ||
|
||
import macOS from './images/mac-osx-logo.png' | ||
|
||
With New Relic's infrastructure monitoring agent for macOS (Beta), you can monitor key performance metrics on macOS hosts. The agent can run on your own hardware or in cloud systems such as Amazon EC2. | ||
|
||
The infrastructure monitoring agent [is compatible](/docs/infrastructure/install-infrastructure-agent/get-started/requirements-infrastructure-agent) with all generally available, Apple supported macOS versions. | ||
|
||
<Callout variant="tip"> | ||
To use infrastructure monitoring and the rest of our [observability platform](https://one.newrelic.com), join the New Relic family! [Sign up](https://newrelic.com/signup) to create your free account in only a few seconds. Then ingest up to 100GB of data for free each month. Forever. | ||
</Callout> | ||
|
||
## Install for macOS (Beta) [#install-macos] | ||
|
||
Before installation, be sure to review the [requirements](/docs/infrastructure/new-relic-infrastructure/getting-started/compatibility-requirements-new-relic-infrastructurets). Then, to install the infrastructure monitoring agent for macOS, you can use our [Guided Install](/docs/full-stack-observability/observe-everything/get-started/new-relic-guided-install-overview/), or follow the instructions in this document to complete a basic installation. | ||
|
||
## Limitations (Beta) [#limitations] | ||
|
||
The following capabilities of the infrastructure agent are not yet available on macOS: | ||
* [Process Monitoring](/attribute-dictionary/?event=ProcessSample). | ||
* [Log forwarder](/docs/logs/enable-log-management-new-relic/enable-log-monitoring-new-relic/forward-your-logs-using-infrastructure-agent/). | ||
* [On-host integrations](/docs/integrations/host-integrations/get-started/introduction-host-integrations/) (including built-in integrations such as Docker and Flex). | ||
* Automated deployment via Configuration Management tools (Chef, Ansible, Puppet). | ||
|
||
## Step-by-step instructions [#instructions] | ||
|
||
To install the infrastructure monitoring agent, follow the step-by-step instructions: | ||
|
||
<CollapserGroup> | ||
<Collapser | ||
id="homebrew-install" | ||
title="Homebrew install" | ||
> | ||
1. Review the [agent requirements and supported operating systems](/docs/infrastructure/new-relic-infrastructure/getting-started/compatibility-requirements-new-relic-infrastructure). | ||
2. Make sure [Homebrew](https://brew.sh/) is installed in the system. | ||
You can check if Homebrew is installed with: | ||
|
||
``` | ||
which brew | ||
``` | ||
|
||
If it's not installed, you can install it with this command (or check [Homebrew](https://brew.sh/) up-to-date instructions): | ||
|
||
``` | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
``` | ||
|
||
3. Create the configuration file and add your [license key](/docs/accounts-partnerships/accounts/account-setup/license-key/): | ||
|
||
``` | ||
echo "license_key: YOUR_LICENSE_KEY" | sudo tee -a /usr/local/etc/newrelic-infra/newrelic-infra.yml | ||
``` | ||
|
||
4. Then, open the terminal and run the following command: | ||
|
||
``` | ||
brew install newrelic-infra -q | ||
``` | ||
|
||
5. Start the infrastructe agent service: | ||
|
||
``` | ||
brew services start newrelic-infra-agent | ||
``` | ||
</Collapser> | ||
|
||
</CollapserGroup> | ||
|
||
Wait a few minutes, then [view your server in the Infrastructure UI](/docs/infrastructure/new-relic-infrastructure/infrastructure-ui-pages/infrastructure-compute-page-measure-resource-usage). If no data appears after waiting a few minutes, follow the [troubleshooting steps](/docs/infrastructure/new-relic-infrastructure/troubleshooting/no-data-appears-infrastructure). | ||
|
||
## What's next? [#configure] | ||
|
||
The only required [configuration option](/docs/infrastructure/install-configure-infrastructure/configuration/configure-infrastructure-agent) is the [`license_key`](/docs/Infrastructure-configure-your-agent#conf-license_key) setting, which is created as part of the installation procedures. You may also want to: | ||
|
||
* [Add custom attributes](/docs/Infrastructure-configure-your-agent#conf-custom_attributes) to annotate your infrastructure data. | ||
* [Connect your AWS account](/docs/infrastructure-amazon-aws-ec2-integration#connect) if your servers are hosted on Amazon EC2. | ||
* Add other [New Relic infrastructure integrations](/docs/infrastructure/integrations-getting-started/getting-started/introduction-infrastructure-integrations) to collect data from external services. | ||
|
||
## Update the agent [#update] | ||
|
||
To upgrade to the latest version, follow standard procedures to [update the infrastructure monitoring agent](/docs/infrastructure/new-relic-infrastructure/installation/update-infrastructure-agent). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.54 KB
...ucture/install-infrastructure-agent/update-or-uninstall/images/mac-osx-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.