Following examples helps you in mapping MnR metrics to the VMware Telco Cloud Service Assurance metric type models.
Input | Mapping | Output |
---|---|---|
{ "value": 6.8126754E-13, "timestamp": 480277448, "action": 0, "group": "", "properties": { "template": "false", "toolstat": "Not Running", "cluster": "Automation-Cluster", "collhost": "haas-bng-010-182.vmware.com", "memory": "16384", "hypervsr": "10.107.118.54", "nbcpu": "6", "vcverson": "7.0.2", "source": "VMWareCollector", "@polling": "10", "path": "[vsanDatastore] afef1863-9638-951b-5ce3-e4434b4a3aa0/Robot UI DEV Pipeline.vmx", "serialnb": "42085FF4-7B43-01A3-1F06-C5F64F0E0D51", "toolvrs": "Supported, Can Upgrade", "toolvr": "11297", "vcenter": "10.107.8.3", "state": "Powered Off", "totalghz": "13.169", "collinst": "vmware-vcenter", "portgrp": "VLAN-1109", "procsz": "2194843564", "w4ncert": "1.0", "deviceid": "50088df7-2e6f-b648-6b4b-eb1b3aec6e68", "currsnap": "0", "hastatus": "VM", "devtype": "VirtualMachine", "unit": "number", "spname": "VMWareCollector", "vdc": "Resources", "pathtovm": "/Datacenters/Automation-Datacenter/vm", "domain": "N/A", "name": "TotalDisk", "vcname": "VMware vCenter Server 7.0.2 build-17958471", "memberof": "Automation-Datacenter", "device": "Robot UI DEV Pipeline", "datagrp": "VCENTER-VM", "status": "Normal" } } |
{ "metricType": "$.properties.source", "instance": "$.properties.device", "properties.entityName": "$.properties.device", "properties.entityType": "$.properties.devtype", "processedTimestamp": "$.timestamp", "type": "$.properties.datagrp", "properties.dataSource": "$.properties.source", "properties.deviceName": "$.properties.device", "metrics.$['properties']['name']": "$.value", "timestamp": "$.timestamp", "properties.deviceType": "$.properties.devtype", "tags": "$.properties" } |
{ "instance": "Robot UI DEV Pipeline", "metricType": "VCENTER-VM", "timestamp": 474771448000, "processedTimestamp": 474771448000, "type": "VMWareCollector", "metrics": { "TotalDisk": 1 }, "properties": { "deviceType": "VirtualMachine", "entityName": "Robot UI DEV Pipeline", "entityType": "VirtualMachine", "dataSource": "VMWareCollector", "deviceName": "Robot UI DEV Pipeline" }, "tags": { "template": "false", "toolstat": "Not Running", "cluster": "Automation-Cluster", "collhost": "haas-bng-010-182.vmware.com", "memory": "16384", "hypervsr": "10.107.118.54", "nbcpu": "6", "vcverson": "7.0.2", "source": "VMWareCollector", "@polling": "10", "path": "[vsanDatastore] afef1863-9638-951b-5ce3-e4434b4a3aa0/Robot UI DEV Pipeline.vmx", "serialnb": "42085FF4-7B43-01A3-1F06-C5F64F0E0D51", "toolvrs": "Supported, Can Upgrade", "toolvr": "11297", "dcName": "_core", "vcenter": "10.107.8.3", "state": "Powered Off", "totalghz": "13.169", "collinst": "vmware-vcenter", "portgrp": "VLAN-1109", "procsz": "2194843564", "w4ncert": "1.0", "deviceid": "50088df7-2e6f-b648-6b4b-eb1b3aec6e68", "currsnap": "0", "hastatus": "VM", "devtype": "VirtualMachine", "unit": "number", "spname": "VMWareCollector", "vdc": "Resources", "pathtovm": "/Datacenters/Automation-Datacenter/vm", "domain": "N/A", "name": "TotalDisk", "vcname": "VMware vCenter Server 7.0.2 build-17958471", "memberof": "Automation-Datacenter", "device": "Robot UI DEV Pipeline", "datagrp": "VCENTER-VM", "status": "Normal" } } |