首页
概述
项目
云主机
弹性IP
镜像
云防火墙
负载均衡
共享带宽
内网虚IP
计费
防攻击
防暴力破解
CDN
MYSQL
短信服务

云主机监控(vmWatch)


接口描述:

主机监控图

请求参数:

参数名必选类型说明
VM_Idstring主机ID
start_timestring

开始时间 例:2020-12-19 12:12:25

end_timestring结束时间

返回结果:

{
    "code": 200,
    "msg": "操作成功",
    "time": 1614583152,
    "data": {
        "cpu": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                2,
                4,
                0,
                0,
                1,
                2,
                2,
                0,
                1,
                9,
                1,
                1,
                0,
                0,
                1,
                0,
                0,
                0
            ],
            "max": 9
        },
        "memory": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                47.97,
                49.46,
                47.97,
                47.96,
                47.98,
                47.96,
                47.97,
                47.98,
                48.03,
                47.98,
                47.96,
                47.97,
                47.97,
                47.96,
                47.97,
                47.97,
                47.98,
                47.99
            ],
            "max": 49.46
        },
        "net_rx": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                4.87,
                4.43,
                4.98,
                4.7,
                4.67,
                4.5,
                4.77,
                4.66,
                4.61,
                4.76,
                4.77,
                4.55,
                4.8,
                4.72,
                4.55,
                4.75,
                4.86,
                4.42
            ],
            "unit": "K bit"
        },
        "net_tx": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                0,
                16,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                16,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "unit": "bit"
        },
        "disk_r": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "unit": "B"
        },
        "disk_w": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                46.97,
                46.5,
                47.16,
                45.79,
                50.49,
                46.32,
                46.12,
                48.07,
                45.87,
                50.13,
                43.57,
                48.32,
                46.36,
                48.52,
                48.69,
                49.27,
                47.05,
                51.22
            ],
            "unit": "KB"
        },
        "disk_r_r": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ]
        },
        "disk_w_r": {
            "x": [
                "2021/03/01 15:01:07",
                "2021/03/01 15:02:07",
                "2021/03/01 15:03:07",
                "2021/03/01 15:04:07",
                "2021/03/01 15:05:07",
                "2021/03/01 15:06:07",
                "2021/03/01 15:07:07",
                "2021/03/01 15:08:07",
                "2021/03/01 15:09:07",
                "2021/03/01 15:10:07",
                "2021/03/01 15:11:07",
                "2021/03/01 15:12:07",
                "2021/03/01 15:13:07",
                "2021/03/01 15:14:07",
                "2021/03/01 15:15:07",
                "2021/03/01 15:16:07",
                "2021/03/01 15:17:07",
                "2021/03/01 15:18:07"
            ],
            "y": [
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4,
                4
            ]
        },
        "disk_s": {
            "/": {
                "x": [
                    "2021/03/01 15:01:07",
                    "2021/03/01 15:02:07",
                    "2021/03/01 15:03:07",
                    "2021/03/01 15:04:07",
                    "2021/03/01 15:05:07",
                    "2021/03/01 15:06:07",
                    "2021/03/01 15:07:07",
                    "2021/03/01 15:08:07",
                    "2021/03/01 15:09:07",
                    "2021/03/01 15:10:07",
                    "2021/03/01 15:11:07",
                    "2021/03/01 15:12:07",
                    "2021/03/01 15:13:07",
                    "2021/03/01 15:14:07",
                    "2021/03/01 15:15:07",
                    "2021/03/01 15:16:07",
                    "2021/03/01 15:17:07",
                    "2021/03/01 15:18:07"
                ],
                "y": [
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14,
                    0.14
                ]
            }
        }
    }
}



Copyright © 2011-2024