Resources | global | monitorTarget

monitorTarget

This object is used to configure the target whose media is captured and sent to the monitoring server.

Exists on Condition (/system/sbcPersonality/role !='msbc') and (/system/sbcPersonality/role !='mrfp')

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of the target.
gcidMuint32 gcid that want to be tapped
monitorEndpointMreference The name of the endpoint to be used for recording.
monitorLegOenumerationboth choose which leg to tap, ingress, egress, all(4 legs in gw-gw) or both
durationOuint320 The duration (in seconds 1 - 65535) that the monitor target will be tapped
stateOenumerationdisabled Administrative state of the monitor target. Changes may only be made while disabled and will only take effect when enabled next.
REST API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/global/monitorTarget/{name}

REST API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/global --data '
<monitorTarget>
     <name>{name}</name>
     <gcid>{gcid}</gcid>
     <monitorEndpoint>{monitorEndpoint}</monitorEndpoint>
</monitorTarget>
'

REST API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/global/monitorTarget/{name}

  • No labels