Has anyone used this.
I installed it and configured two of my instances of vrops to connect to it using the OOTB metric config file and it works great and as expected.
The problem comes when i created a new config file for my capacity instances of vrops where i only want to bring over approx 15 metrics form each. I then set the new file name in the MP config but the collection fails with
I copied the OOTB config file and modified it but still no luck
The two that are working were created with the default.
The two that are not i created a new one then added the adapters. I have even stoped the adapter, reconfigured it and restarted the adapter. I have even taken the cluster offline and online again.
I will get a look at the logs soon.
Thanks
[99] 2018-10-22 07:35:19,648 ERROR [Collector worker thread 5] (3581) com.vmware.adapter.federation.FederationAdapter.onCollect - Configuration file validation failed.: ConfFileValidationException: cvc-complex-type.3.2.2: Attribute 'link' is not allowed to appear in element 'Metric'.
[100] 2018-10-23 04:43:19,422 ERROR [Collector worker thread 11] (3581) com.vmware.adapter.configuration.ConfigurationParser.validateXMLSchema - Failed to validate configuration file: SAXParseException: cvc-complex-type.3.2.2: Attribute 'link' is not allowed to appear in element 'Metric'.
[101] org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 107; cvc-complex-type.3.2.2: Attribute 'link' is not allowed to appear in element 'Metric'.
[102] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
This is the config file
<?xml version="1.0" encoding="UTF-8"?>
<AdapterKinds>
<AdapterKind adapterKindKey="VMWARE">
<ResourceKind resourceKindKey="ClusterComputeResource">
<Metric attrkey="Super Metric|sm_aec7b88f-ccf1-45b3-900f-ccb1dae5aa84" label="" unit="" yellow="" orange="" red="" link=""/>
<Metric attrkey="Super Metric|sm_005a1226-6c2a-4787-b6ab-8015f4d07179" label="" unit="" yellow="" orange="" red="" link=""/>
</ResourceKind>
</AdapterKind>
</AdapterKinds>
Is it because they are SM
After reading the log it turns out that 7.0 added the link="" to the end of the metric config. Once i removed it from my config file it worked.