---
title: Remote monitoring for on-host integrations
source: https://docs.newrelic.com/docs/infrastructure/host-integrations/understand-use-data/remote-monitoring-host-integrations
---

From a New Relic perspective, [entity](https://docs.newrelic.com/docs/new-relic-one/use-new-relic-one/core-concepts/what-entity-new-relic#what-is-entity) is a broad concept. An entity is anything New Relic can identify that has data you can monitor.

Our on-host integrations can be configured to create their own entity, called a **remote entity,** by setting the `remote_monitoring` option to `true`. If set to `false`, an integration will be considered a local entity, and the data related to it will be attached to the host entity that the agent creates. Remote monitoring requires infrastructure agent [version 1.2.25 or higher](https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes).

For the [Apache](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/apache-monitoring-integration), [Cassandra](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/cassandra-monitoring-integration), [MySQL](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration), [NGINX](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/nginx-monitoring-integration), and [Redis](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/redis-monitoring-integration) integrations, remote monitoring (and [multi-tenancy](https://docs.newrelic.com/docs/integrations/host-integrations/getting-started/introduction-host-integrations#multiple-instances)) is enabled by activating the configuration parameter `remote_monitoring`.

> #### ⚠️ IMPORTANT
>
> If your Apache, Cassandra, MySQL, NGINX, or Redis service is located in the same host as the agent, when you activate remote monitoring the resulting entity will be considered as remote, regardless of its actual location. This may affect alerts, alter attributes, and have other effects, as explained here.

## Effects of activating `remote_monitoring` [#effects-activating-remote-monitoring]

By enabling `remote_monitoring`, the integration becomes a different entity which is no longer attached to the infrastructure agent. As a result, the following items may be affected:

**Alert verification**

[**Enabling remote monitoring can affect your configured alerts**](https://docs.newrelic.com/docs/verify-your-alerts-after-activating-remote-monitoring) in case they are using any of the values that are affected by this new feature. We strongly recommend checking your existing alerts to make sure they keep on working as expected.

**New entity attributes**

These attributes are modified in the resulting entity:

-   **Display name**: New entity unique key (instead of using the display name)
-   **Entity GUID**: New entity GUID
-   **Entity ID**: New entity ID
-   **Entity key**: New entity unique key (instead of using the display name)
-   **External key**: Using integration entity name (instead of using the agent display)

**Changes in recorded metrics**

When remote monitoring is enabled, we will add the `hostname` and `port` values to all metrics. If the `nricluster` name or `nriservice` are defined in the integration configuration file, they will also be decorated.

**Unrecorded attributes**

Since the integration is now an independent entity which is not attached to the agent, the following agent attributes are not collected:

-   `agentName`
-   `agentVersion`
-   `coreCount`
-   `criticalViolationCount`
-   `fullHostname`
-   `instanceType`
-   `kernelVersion`
-   `linuxDistribution`
-   `entityType`
-   `operatingSystem`
-   `processorCount`
-   `systemMemoryBytes`
-   `warningViolationCount`
-   Your [custom attributes](https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/configuration/configure-infrastructure-agent#attributes)

**Updated hostname**

For the `ApacheSample`, `RedisSample`, `CassandraSample`, and `NginxSample` integration metrics, we will use the integration configuration hostname instead of the short hostname from the agent.

When the integration hostname is a [loopback address](https://docs.newrelic.com/docs/integrations/integrations-sdk/file-specifications/integration-executable-file-specifications#h2-loopback-address-replacement-on-entity-names), the agent will replace it in order to guarantee uniqueness.
