Introduction

This reference describes the Cradlepoint NetCloud Manager (NCM) API endpoints used to collect Cradlepoint router and network-interface metrics, how API fields map to OpsRamp metrics, and how to interpret traffic counters.

For integration installation, resource discovery, capabilities, and monitoring behavior, see the Cradlepoint integration overview.

API details

All NCM API requests use the following format:

GET https://<NCM host>/api/v2/<endpoint>

Requests use these NCM API headers:

  • X-ECM-API-ID
  • X-ECM-API-Key
  • X-CP-API-ID
  • X-CP-API-Key

Responses are paginated through meta.next. Each page returns up to 500 records. Continue requesting pages while meta.next is present to retrieve all records.

OpsRamp timestamps a metric when it collects the metric. It does not use the timestamp at which Cradlepoint recorded the metric.

Router metrics

Resource: Cradlepoint Router

Router traffic and uptime

GET /router_stream_usage_samples/?router__in=<ids>&created_at__gt=<now-90min>&created_at__lt=<now>

A request can include up to 100 router IDs. OpsRamp uses the latest sample available for each router from the previous 90 minutes. Cradlepoint generates these samples approximately once per hour.

Router traffic and uptime metric mappings
OpsRamp metricCradlepoint API fieldDescription and unit
cradlepoint_router_bytes_inbytes_inBytes received during the sampling interval.
cradlepoint_router_bytes_outbytes_outBytes sent during the sampling interval.
cradlepoint_router_uptimeuptimeRouter uptime in seconds.

Router state and status

GET /routers/?id__in=<ids>&fields=id,state,reboot_required,upgrade_pending,config_status
Router state and status metric mappings
OpsRamp metricAPI fieldValue mapping
cradlepoint_router_statestateonline = 1; any other value = 0.
cradlepoint_router_reboot_requiredreboot_requiredtrue = 1; false = 0.
cradlepoint_router_upgrade_pendingupgrade_pendingtrue = 1; false = 0.
cradlepoint_router_config_statusconfig_statussynched = 1; any other value = 0.

Interface metrics

Resource: Cradlepoint Network Device/Interface

Interface traffic metrics

GET /net_device_metrics/?id__in=<interface ids>

Metrics are collected for each interface. The metric instance name uses this format:

<interfaceId>_<service_type>
Interface traffic metric mappings
OpsRamp metricAPI fieldDescription and unit
cradlepoint_interface_bytes_inbytes_inRunning total of bytes received since the device counter was last reset.
cradlepoint_interface_bytes_outbytes_outRunning total of bytes sent since the device counter was last reset.

To calculate traffic usage between two collection points, subtract the previous cumulative value from the current value:

Usage during interval = Current counter value - Previous counter value

If the counter decreases, the device counter may have reset. Establish a new baseline instead of interpreting the decrease as interval traffic.

Cellular signal metrics

These metrics are collected only for cellular interfaces whose service_type contains LTE, 5G, 4G, 3G, CELLULAR, or WWAN.

Cellular signal metric mappings
OpsRamp metricAPI fieldUnit
cradlepoint_interface_rsrprsrpdBm
cradlepoint_interface_rsrqrsrqdB
cradlepoint_interface_sinrsinrdB
cradlepoint_interface_dbmdbmdBm
cradlepoint_interface_signal_strengthsignal_strength0-100
cradlepoint_interface_rssirssidBm
cradlepoint_interface_cinrcinrdB

Typical signal ranges include:

  • RSRP: approximately -140 to -44 dBm
  • RSRQ: approximately -20 to -3 dB
  • SINR: approximately -20 to 30 dB

Interface cellular health

GET /net_device_health/?net_device__id__in=<interface ids>
Interface cellular health metric mappings
OpsRamp metricAPI fieldValue mapping
cradlepoint_interface_cellular_health_scorecellular_health_score0-100; stored as received.
cradlepoint_interface_cellular_health_categorycellular_health_categoryexcellent = 4; good = 3; fair = 2; poor = 1.

Unknown cellular health category values are not stored.

Interface connection state and uptime

GET /net_devices/?id__in=<interface ids>&fields=id,connection_state,uptime,summary
Interface connection state and uptime metric mappings
OpsRamp metricAPI fieldValue mapping
cradlepoint_interface_connection_stateconnection_stateconnected = 1 (Up); disconnected = 0 (Down); empty or another value = 3 (Unknown/Never Connected).
cradlepoint_interface_uptimeuptimeSeconds connected; 0 when the value is empty.

An uptime value of 0 can identify an interface that is not currently connected or has not established a connection.

Interpret Bytes In and Bytes Out

The meaning of Bytes In and Bytes Out depends on the endpoint. Router samples and interface usage samples are interval-based; interface metrics are cumulative.

Traffic measurement behavior by endpoint
Metric sourceEndpointData typeInterpretation
Router Bytes In/Outrouter_stream_usage_samplesInterval-basedTraffic during the corresponding sampling interval. The values can be graphed directly as interval usage.
Interface Bytes In/Outnet_device_metricsCumulativeRunning total since the device counter was reset. Calculate the difference between consecutive values to estimate interval usage.
Interface usage samplesnet_device_usage_samplesInterval-basedTraffic during each individual sampling interval. Do not compare directly with cumulative net_device_metrics values.