vSphere 集群 metricset

编辑

此功能处于测试阶段,可能会发生变化。其设计和代码不如正式 GA 功能成熟,按“原样”提供,不提供任何保证。测试版功能不受正式 GA 功能的支持服务等级协议 (SLA) 的约束。

这是 vSphere 模块的 cluster metricset。

这是一个默认的 metricset。如果主机模块未配置,则默认启用此 metricset。

字段

有关 metricset 中每个字段的说明,请参阅导出字段部分。

以下是由此 metricset 生成的示例文档

{
  "@timestamp": "2017-10-12T08:05:34.853Z",
  "event": {
      "dataset": "vsphere.cluster",
      "duration": 115000,
      "module": "vsphere"
  },
  "metricset": {
      "name": "cluster",
      "period": 10000
  },
  "service": {
      "address": "127.0.0.1:33365",
      "type": "vsphere"
  },
  "vsphere": {
      "cluster": {
          "triggered_alarms": [
              {
                  "status": "red",
                  "triggered_time": "2024-09-09T13:23:00.786Z",
                  "description": "Default alarm to monitor system boards.  See the host's Hardware Status tab for more details.",
                  "entity_name": "121.0.0.0",
                  "name": "Host hardware system board status",
                  "id": "alarm-121.host-12"
              },
              {
                  "triggered_time": "2024-09-09T13:23:00.786Z",
                  "description": "Default alarm to monitor storage.  See the host's Hardware Status tab for more details.",
                  "entity_name": "121.0.0.0",
                  "name": "Host storage status",
                  "id": "alarm-124.host-12",
                  "status": "red"
              },
              {
                  "entity_name": "121.0.0.0",
                  "name": "Host memory usage",
                  "id": "alarm-4.host-12",
                  "status": "yellow",
                  "triggered_time": "2024-08-28T10:31:26.621Z",
                  "description": "Default alarm to monitor host memory usage"
              },
              {
                  "name": "CPU Utilization",
                  "id": "alarm-703.host-12",
                  "status": "red",
                  "triggered_time": "2024-08-28T10:31:26.621Z",
                  "description": "",
                  "entity_name": "121.0.0.0"
              }
          ],
          "name": "Cluster_1",
          "das_config": {
              "enabled": false,
              "admission": {
                  "control": {
                      "enabled": true
                  }
              }
          },
          "host": {
              "count": 1,
              "names": [
                  "Host_1"
              ]
          },
          "datastore": {
              "count": 1,
              "names": [
                  "Datastore_1"
              ]
          },
          "network": {
              "count": 1,
              "names": [
                  "Network_1"
              ]
          }
      }
  }
}