N2WS

Supported OS Linux Mac OS Windows

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

Installation

  1. Install the Python integration.

  2. 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
  3. 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.
  4. Set up Datadog dashboard metrics:

    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.

  5. Get N2WS dashboards

    • In Datadog Integrations, 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 to create your dashboards.

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

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

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

Service Checks

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

Troubleshooting

PREVIEWING: safchain/fix-custom-agent