VMware Aria Operations for Networks 支持使用 JSON 格式的配置文件进行 ServiceNow 自定义。

{
  "fetchOnlyApprovedApplications": false,
  "nameBasedSearchForVm": false,
  "ignoreWorkloadCheck": false,
  "ciGroup": [
    {
      "name": "applicationClasses",
      "value": [
        "cmdb_ci_service_discovered"
      ],
      "valueType": "CI_CLASS",
      "systemGenerated": true,
      "expandCIClass": true
    },
    {
      "name": "relationshipTypeClasses",
      "value": [
        "*"
      ],
      "valueType": "CI_VALUE",
      "systemGenerated": true,
      "expandCIClass": false
    },
    {
      "name": "workloadRelationshipTypeClasses",
      "value": [
        "Hosted on::Hosts",
        "Instantiates::Instantiated by",
        "Runs on::Runs",
        "Virtualized by::Virtualizes"
      ],
      "valueType": "CI_VALUE",
      "systemGenerated": true,
      "expandCIClass": false
    },
    {
      "name": "workloadCIClasses",
      "value": [
        "cmdb_ci_computer",
        "cmdb_ci_vm_instance",
        "cmdb_ci_vmware_instance"
      ],
      "valueType": "CI_CLASS",
      "systemGenerated": true,
      "expandCIClass": true
    },
    {
      "name": "relationClasses",
      "value": [
        "cmdb_rel_ci"
      ],
      "valueType": "CI_CLASS",
      "systemGenerated": true,
      "expandCIClass": true
    },
    {
      "name": "ignoredCIClasses",
      "value": [
        "cmdb_ci_vcenter_server_obj"
      ],
      "valueType": "CI_VALUE",
      "systemGenerated": true,
      "expandCIClass": true
    },
    {
      "name": "ignoredTierCIClasses",
      "value": [
      ],
      "valueType": "CI_VALUE",
      "systemGenerated": true,
      "expandCIClass": true
    },
    {
      "name": "trackedCIClasses",
      "value": [
        "cmdb_ci_appl",
        "cmdb_ci_cluster",
        "cmdb_ci_cluster_node",
        "cmdb_ci_database",
        "cmdb_ci_lb_service",
        "cmdb_ci_spkg",
        "cmdb_ci_qualifier_manual_connection",
        "cmdb_ci_endpoint",
        "cmdb_ci_network_adapter",
        "cmdb_ci_translation_rule"
      ],
      "valueType": "CI_CLASS",
      "systemGenerated": true,
      "expandCIClass": true
    }
  ],
  "traversalRule": [
    {
      "fromNode": [
        "applicationClasses"
      ],
      "toNode": [
        "trackedCIClasses",
        "workloadCIClasses"
      ],
      "relationship": [
        "relationshipTypeClasses"
      ],
      "priority": 5
    },
    {
      "fromNode": [
        "trackedCIClasses",
        "workloadCIClasses"
      ],
      "toNode": [
        "trackedCIClasses",
        "workloadCIClasses"
      ],
      "relationship": [
        "relationshipTypeClasses"
      ],
      "priority": 3
    }
  ],
  "traversalStopRule": [
    {
      "fromNode": [
        "trackedCIClasses",
        "workloadCIClasses"
      ],
      "toNode": [
        "applicationClasses"
      ],
      "relationship": [
        "relationshipTypeClasses"
      ],
      "priority": 5
    }
  ],
  "associationRule": [
    {
      "fromNode": [
        "trackedCIClasses",
        "workloadCIClasses"
      ],
      "toNode": [
        "workloadCIClasses"
      ],
      "relationship": [
        "workloadRelationshipTypeClasses"
      ],
      "priority": 5
    }
  ]
}
发生配置更改时, VMware Aria Operations for Networks 可能需要 30 分钟才能进行完整数据提取并重新计算所有应用程序。

使用默认 CMDB 配置的 ServiceMap 和发现的应用程序示例

通过使用默认 CMBU 配置,VMware Aria Operations for Networks 能够发现 ServiceNow 中的应用程序。呈现使用默认 CMDB 配置的 ServiceMap 和发现的应用程序的流程图。

“修改应用程序”页面显示了用于添加应用程序的选项。