---
title: N2WS
description: View summary data from all the connected N2WS Backup & Recovery hosts
breadcrumbs: Docs > Integrations > N2WS
---

# N2WS
Supported OS 
## Overview{% #overview %}

N2WS Backup & Recovery (CPM), known as N2WS, is an enterprise-class backup, recovery, and disaster recovery solution for Amazon Web Services (AWS) and Microsoft Azure. N2WS uses cloud native technologies (snapshots) to provide backup and restore capabilities in AWS and Azure.

Your N2WS Backup and Recovery instance supports the monitoring of backups, disaster recovery, copy to S3, alerts, and more with Datadog's monitoring service. This integration allows users to monitor and analyze the N2WS Backup and Recovery Dashboard metrics.

## Setup{% #setup %}

### Installation{% #installation %}

1. Install the [Python integration](https://app.datadoghq.com/account/settings#integrations/python).

1. Enable support for Datadog on your N2WS instance:

   - Connect to your N2WS Backup and Recovery instance with SSH.
   - Add the lines below to `/cpmdata/conf/cpmserver.cfg`. You might need `sudo` privileges to perform this action.
     ```
     [external_monitoring]
     enabled=True
     ```
   - Run `service apache2 restart`

1. Install the Datadog Agent on your N2WS Instance.

   - Login to Datadog and go to Integrations -> Agent -> Ubuntu
   - Copy the Agent one-step install command.
   - Connect to your N2WS Backup and Recovery Instance with SSH and run the command. You may require `sudo` privileges to perform this action.

1. Set up Datadog dashboard metrics:

   - Go to [**Metrics** -> **Explorer**](https://app.datadoghq.com/metric/explorer)

**Graph**: Select your metric from the list. All N2WS metrics begin with the string `cpm_metric`.

**Over**: Select data from the list. All N2WS users' data begins with the string `cpm:user:<user-name>`. You can select either a specific user or the entire N2WS instance.

1. Get N2WS dashboards

   - In [Datadog Integrations](https://app.datadoghq.com/account/settings#integrations/n2ws), search for the `N2WS` tile and install it.
   - Five dashboards are installed in your account: `N2WSBackup&Recovery-Graphicalversion`, `N2WSBackup&Recovery-Graphicalversion-areas` and `N2WSBackup&Recovery-EntitiesSpecificDashboard` for N2WS Backup & Recovery v3.2.1 **Note**: These dashboards are only available for AWS users. `N2WSBackup&Recovery-EntitiesSpecificDashboardV4.1` and `N2WSBackup&Recovery-GraphicalVersionV4.1` for N2WS Backup & Recovery v4.1

Alternatively, you can [import JSON templates from N2WS](https://support.n2ws.com/portal/en/kb/articles/datadog-templates) to create your dashboards.

## Data Collected{% #data-collected %}

Datadog collects the following data about N2WS Backup & Recovery backups:

- The number of snapshots of each type
- Successful backups (AWS only)
- Failed backups (AWS only)
- Partially successful backups (AWS only)
- Protected resources from any type
- Data about volume capacity (AWS only), alerts, etc.

### Metrics{% #metrics %}

|  |
|  |
| **cpm\_metric.dashboard\_activity.backup\_success\_num**(gauge)              | Total number of successful backups (from all types)                    |
| **cpm\_metric.dashboard\_activity.backup\_fail\_num**(gauge)                 | Total number of failure backups (from all types)                       |
| **cpm\_metric.dashboard\_activity.backup\_partial\_num**(gauge)              | Total number of partially successful backups (from all types)          |
| **cpm\_metric.dashboard\_activity.backup\_dr\_success\_num**(gauge)          | Total number of successful DR backups (from all types)                 |
| **cpm\_metric.dashboard\_activity.backup\_dr\_fail\_num**(gauge)             | Total number of failure DR backups (from all types)                    |
| **cpm\_metric.dashboard\_activity.backup\_dr\_partial\_num**(gauge)          | Total number of partially successful DR backups (from all types)       |
| **cpm\_metric.dashboard\_activity.backup\_s3\_success\_num**(gauge)          | Total number of successful backups to S3                               |
| **cpm\_metric.dashboard\_activity.backup\_s3\_fail\_num**(gauge)             | Total number of failure backups to S3                                  |
| **cpm\_metric.dashboard\_activity.backup\_s3\_partial\_num**(gauge)          | Total number of partially successful backups to S3                     |
| **cpm\_metric.dashboard\_state.policies\_num**(gauge)                        | Total number of policies on all hosts                                  |
| **cpm\_metric.dashboard\_state.accounts\_num**(gauge)                        | Total number of accounts on all hosts                                  |
| **cpm\_metric.dashboard\_state.snapshots\_volume\_num**(gauge)               | Total number of snapshots of volumes                                   |
| **cpm\_metric.dashboard\_state.snapshots\_only\_ami\_num**(gauge)            | Total number of snapshots of instance AMI only                         |
| **cpm\_metric.dashboard\_state.snapshots\_dr\_volume\_num**(gauge)           | Total number of DR snapshots of volumes                                |
| **cpm\_metric.dashboard\_state.snapshots\_rds\_num**(gauge)                  | Total number of snapshots of RDS databases                             |
| **cpm\_metric.dashboard\_state.snapshots\_dr\_rds\_num**(gauge)              | Total number of DR snapshots of RDS databases                          |
| **cpm\_metric.dashboard\_state.snapshots\_redshift\_num**(gauge)             | Total number of snapshots of Redshift databases                        |
| **cpm\_metric.dashboard\_state.snapshots\_rds\_clus\_num**(gauge)            | Total number of snapshots of Aurora clusters                           |
| **cpm\_metric.dashboard\_state.snapshots\_dr\_rds\_clus\_num**(gauge)        | Total number of DR snapshots of Aurora clusters                        |
| **cpm\_metric.dashboard\_state.snapshots\_ddb\_num**(gauge)                  | Total number of snapshots of DynamoDB                                  |
| **cpm\_metric.dashboard\_state.snapshots\_efs\_num**(gauge)                  | Total number of DR snapshots of EFS file systems                       |
| **cpm\_metric.dashboard\_state.snapshots\_dr\_efs\_num**(gauge)              | Total number of snapshots of Azure Disks                               |
| **cpm\_metric.dashboard\_state.snapshots\_disk\_num**(gauge)                 | Total number of snapshots of EFS file systems                          |
| **cpm\_metric.dashboard\_state.protected\_instances\_num**(gauge)            | Total number of protected instances resources                          |
| **cpm\_metric.dashboard\_state.protected\_volumes\_num**(gauge)              | Total number of protected volumes resources                            |
| **cpm\_metric.dashboard\_state.protected\_rds\_db\_num**(gauge)              | Total number of protected RDS resources                                |
| **cpm\_metric.dashboard\_state.protected\_ddb\_num**(gauge)                  | Total number of protected DynamoDB resources                           |
| **cpm\_metric.dashboard\_state.protected\_efs\_num**(gauge)                  | Total number of protected EFS resources                                |
| **cpm\_metric.dashboard\_state.protected\_rds\_clus\_num**(gauge)            | Total number of protected Aurora resources                             |
| **cpm\_metric.dashboard\_state.protected\_redshift\_num**(gauge)             | Total number of protected Azure Virtual Machines resources             |
| **cpm\_metric.dashboard\_state.protected\_virtual\_machines\_num**(gauge)    | Total number of protected Redshift resources                           |
| **cpm\_metric.dashboard\_state.protected\_disks\_num**(gauge)                | Total number of protected Redshift resources                           |
| **cpm\_metric.dashboard\_state.volumes\_above\_high\_watermark\_num**(gauge) | Number of volumes with above high watermark capacity                   |
| **cpm\_metric.dashboard\_state.volumes\_below\_low\_watermark\_num**(gauge)  | Number of volumes with below low watermark capacity                    |
| **cpm\_metric.dashboard\_state.volumes\_usage\_percentage\_num**(gauge)      | Total usage of capacity for all volumes of all hosts*Shown as percent* |

### Events{% #events %}

Datadog collects alert messages from all N2WS Backup & Recovery hosts.

### Service Checks{% #service-checks %}

The N2WS Backup & Recovery integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

- [N2WS user guide and documentation](https://n2ws.com/support/documentation)
- [N2WS support](https://n2ws.com/support)
- [Datadog support](https://docs.datadoghq.com/help/)
