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-IDX-ECM-API-KeyX-CP-API-IDX-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.
| OpsRamp metric | Cradlepoint API field | Description and unit |
|---|---|---|
cradlepoint_router_bytes_in | bytes_in | Bytes received during the sampling interval. |
cradlepoint_router_bytes_out | bytes_out | Bytes sent during the sampling interval. |
cradlepoint_router_uptime | uptime | Router uptime in seconds. |
Important
Router Bytes In and Bytes Out are traffic values for an individual sampling interval. They are not running or cumulative counters and can be graphed directly as interval usage.Router state and status
GET /routers/?id__in=<ids>&fields=id,state,reboot_required,upgrade_pending,config_status
| OpsRamp metric | API field | Value mapping |
|---|---|---|
cradlepoint_router_state | state | online = 1; any other value = 0. |
cradlepoint_router_reboot_required | reboot_required | true = 1; false = 0. |
cradlepoint_router_upgrade_pending | upgrade_pending | true = 1; false = 0. |
cradlepoint_router_config_status | config_status | synched = 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>
| OpsRamp metric | API field | Description and unit |
|---|---|---|
cradlepoint_interface_bytes_in | bytes_in | Running total of bytes received since the device counter was last reset. |
cradlepoint_interface_bytes_out | bytes_out | Running total of bytes sent since the device counter was last reset. |
Important
The interfacebytes_in and bytes_out values from net_device_metrics are cumulative counters. They normally increase over time and can decrease when the underlying device counter is reset. Do not interpret the raw values as traffic consumed during a single collection interval.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.
| OpsRamp metric | API field | Unit |
|---|---|---|
cradlepoint_interface_rsrp | rsrp | dBm |
cradlepoint_interface_rsrq | rsrq | dB |
cradlepoint_interface_sinr | sinr | dB |
cradlepoint_interface_dbm | dbm | dBm |
cradlepoint_interface_signal_strength | signal_strength | 0-100 |
cradlepoint_interface_rssi | rssi | dBm |
cradlepoint_interface_cinr | cinr | dB |
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>
| OpsRamp metric | API field | Value mapping |
|---|---|---|
cradlepoint_interface_cellular_health_score | cellular_health_score | 0-100; stored as received. |
cradlepoint_interface_cellular_health_category | cellular_health_category | excellent = 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
| OpsRamp metric | API field | Value mapping |
|---|---|---|
cradlepoint_interface_connection_state | connection_state | connected = 1 (Up); disconnected = 0 (Down); empty or another value = 3 (Unknown/Never Connected). |
cradlepoint_interface_uptime | uptime | Seconds 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.
| Metric source | Endpoint | Data type | Interpretation |
|---|---|---|---|
| Router Bytes In/Out | router_stream_usage_samples | Interval-based | Traffic during the corresponding sampling interval. The values can be graphed directly as interval usage. |
| Interface Bytes In/Out | net_device_metrics | Cumulative | Running total since the device counter was reset. Calculate the difference between consecutive values to estimate interval usage. |
| Interface usage samples | net_device_usage_samples | Interval-based | Traffic during each individual sampling interval. Do not compare directly with cumulative net_device_metrics values. |