获取实时监控信息
GET
/api/v1/device/monitor/info
All
提示
请求参数
Query 参数
isNeedCabinetInfo
string
可选
Header 参数
Device-Key
string
可选
默认值:
10.40.41.200:8001
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com:8001/api/v1/device/monitor/info?isNeedCabinetInfo=' \
--header 'Device-Key: 10.40.41.200:8001'
返回响应
🟢200成功
application/json
Body
code
number
可选
data
object
可选
name
string
控制器名称
runtime
number
控制器本次运行时间(秒)
totalRuntime
number
控制器累计运行时间(秒)
backupStatus
integer
备份状态
mainBoardTemperature
object
主板温度
mainBoardVoltage
object
主板电压
fanInfos
array [object {3}]
风扇信息
voltageInfos
array [object {3}]
电压信息
temperatureInfos
array [object {3}]
温度信息
cabinetPowerNumber
number
电源数量
controllerPortMonitorInfos
array [object {2}]
控制网口信息
cardMonitorInfo
array [object {5}]
必需
screenSourceStatus
array [object {3}]
上屏源状态
outputStatus
array [object {4}]
输出口状态
cabinets
array [object {8}]
箱体
rvCardsRuntime
array [object {4}]
接收卡运行时监控
screenRunTime
integer
屏幕的累计运行时长
message
string
可选
示例
{
"code": 0,
"data": {
"name": "string",
"runtime": 0,
"totalRuntime": 0,
"backupStatus": 0,
"mainBoardTemperature": {
"value": 0,
"status": 0
},
"mainBoardVoltage": {
"value": 0,
"status": 0
},
"fanInfos": [
{
"fanSpeed": 0,
"fanType": 0,
"status": 0
}
],
"voltageInfos": [
{
"voltage": null,
"voltageType": null,
"status": null
}
],
"temperatureInfos": [
{
"temperature": null,
"temperatureType": null,
"status": null
}
],
"cabinetPowerNumber": 0,
"controllerPortMonitorInfos": [
{
"controllerPortID": 0,
"status": 0
}
],
"cardMonitorInfo": [
{
"cardID": 0,
"cardType": 0,
"status": 0,
"cardTemperatureInfos": [
{
"temperature": 0,
"temperatureType": 0
}
],
"cardVoltageInfos": [
{
"voltage": 0,
"voltageType": 0
}
]
}
],
"screenSourceStatus": [
{
"portID": 0,
"status": 0,
"inputCardID": 0
}
],
"outputStatus": [
{
"outputID": 0,
"type": 0,
"status": 0,
"outputCardID": 0
}
],
"cabinets": [
{
"CabinetID": 0,
"rvCardID": 0,
"outPutID": 0,
"index": 0,
"temperature": {
"value": 0,
"status": 0
},
"voltage": {
"value": 0,
"status": 0
},
"rvCards": [
{
"cabinetID": 0,
"rvCardID": 0,
"netPortIndex": 0,
"cabinetIndex": 0,
"runtime": 0,
"totalRuntime": 0,
"temperature": {
"value": 0,
"status": 0
},
"voltage": {
"value": 0,
"status": 0
},
"humidity": {
"value": 0,
"status": 0
},
"errorBit": [
{
"value": 0,
"type": 0,
"status": 0
}
],
"backupStatus": {
"mode": 0,
"status": 0
},
"nextCabinetLinkStatus": {
"linkStatus": true,
"status": 0
},
"moduleInfos": [
{
"moduleIndex": "string",
"temperature": {
"value": 0,
"status": 0
},
"voltage": {
"value": 0,
"status": 0
}
}
]
}
],
"powerInfo": [
{
"number": 0,
"status": 0
}
]
}
],
"rvCardsRuntime": [
{
"cabinetID": 0,
"rvCardID": 0,
"runtime": null,
"totalRuntime": null
}
],
"screenRunTime": 0
},
"message": "string"
}
修改于 2024-07-03 03:33:52