Monitor
monitor.Get
status
Request a status from monitoring, like PTP states from Danteā¢
Request
Method | Param | Value | Comment | Supported Versions |
---|---|---|---|---|
monitor.Get | status | clocking | Status to get | >v1.8.50 |
{"jsonrpc":"2.0","id":1,"method":"monitor.Get", "params":{"status": "clocking"}}
Reply
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"SDM-DEV-DSP1-4": {
"Preferred": 0,
"Mutes": {},
"Ports": {
"1": {
"PortState": "PASSIVE",
"PathType": "MULTICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 1,
"InterfaceIndex": 2
},
"2": {
"PortState": "SLAVE",
"PathType": "MULTICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 2,
"InterfaceIndex": 2
},
"3": {
"PortState": "DISABLED",
"PathType": "UNICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 1,
"InterfaceIndex": 2
},
"4": {
"PortState": "DISABLED",
"PathType": "UNICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 2,
"InterfaceIndex": 2
}
}
},
"SDM-DEV-DSP2-1": {
"Preferred": 0,
"Mutes": {},
"Ports": {
"1": {
"PortState": "PASSIVE",
"PathType": "MULTICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 1,
"InterfaceIndex": 2
},
"2": {
"PortState": "SLAVE",
"PathType": "MULTICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 2,
"InterfaceIndex": 2
},
"3": {
"PortState": "DISABLED",
"PathType": "UNICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 1,
"InterfaceIndex": 2
},
"4": {
"PortState": "DISABLED",
"PathType": "UNICAST",
"Layer": "LAYER3",
"LinkDown": 0,
"PtpVersion": 2,
"InterfaceIndex": 2
}
}
}
}
}