Monitoring Get Network Gateway Status

Monitoring Get Network Gateway Status

Fetch aggregate health metric summaries for all gateways in a network or for given list of target gateways, for specified time interval and list of metrics. On success, this method returns an array of objects per gateway containing health metric summary of requested metrics

Privileges required:

READ GATEWAY

Request
URI
POST
https://{api_host}/portal/rest/monitoring/getNetworkGatewayStatus
COPY
Request Body
{
    "networkId": 0,
    "gatewayIds": [
        0
    ],
    "time": "string",
    "sort": "gateway_metric Object",
    "limit": 0,
    "metrics": "gateway_metrics Object"
}
integer
networkId
Optional

networkId

array of integer
gatewayIds
Optional

gatewayIds

time
Optional

time

sort
Optional

sort

Possible values are : tunnelCount, memoryPct, flowCount, cpuPct, handoffQueueDrops, connectedEdges,
integer
limit
Optional

limit

metrics
Optional

metrics

Responses
200

Request was successfully processed

Returns monitoring_get_network_gateway_status_result of type(s) application/json
"monitoring_get_network_gateway_status_result Object"
object
metaData
Required

metaData

array of object
data
Required

data


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/monitoring/getNetworkGatewayStatus