hertzbeat
hertzbeat copied to clipboard
[Question] < PING connectivity>
Question
I found the interface documentation, ran the test code, and did not find it on the console.
{
"monitor": {
"name": "Api-TanCloud.cn",
"app": "TanCloud",
"host": "192.167.25.11",
"intervals": 600,
"status": "string",
"description": "Availability monitoring of the SAAS website TanCloud",
"tags": [
{
"name": "app",
"tagValue": "23",
"color": "#ffff",
"description": "Used for monitoring mysql",
"type": "string"
}
]
},
"params": [
{
"monitorId": 875846754543,
"field": "port",
"paramValue": "8080",
"type": "string"
}
],
"detected": true,
"collector": "string"
}
{
"data": null,
"msg": "Cannot construct instance of `org.apache.hertzbeat.manager.pojo.dto.MonitorDto` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('monitor')\n at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 3]",
"code": 1
}