In some cases where the wrong VC gets mapped, incorrect statistics result. For example, if a device such as a Cisco FirePower Security Appliance may not be properly or fully certified in a previous version of CAPM. However, it is similar enough to an already certified device that it is discovered but using a VC for some metrics which result in incorrect statistic values such as for the Memory Metric Family (MF). In this case, because the Cisco Enhanced Memory Pool VC is higher in the priority list order, it will be selected instead of the Cisco CPM Memory VC, which is the VC that provides the correct values for the Memory MF for this device:
The VC priority order can be changed, but then this would affect other devices statistics and make them invalid. And Vendor Certifications (VCs) can't be bound to certain collections.
Instead, what can be done is to use the <VCSupportExpression> tag in the Cisco Enhanced Memory Pool to prevent this VC from discovering the device.
Release : 3.7.x & later
The only way to get CAPM to discover the device using the correct VC is to create a VC extension for the VC that's giving the wrong values (in this example - Cisco Enhanced Memory Pool) to block this device from being discovered, which then allows VCs lower down in the priority order to discover it. This is done using the VCSupportExpression tag.
So, the first step would be to get the VC (The internal CAPM name for the Cisco Enhanced Memory Pool MIB is CiscoEnhancedMempoolMIB) as a template via a REST client targeting the URL:
This will output the "Cisco Enhanced Memory Pool” VC MIB.
You would add the VCSupportExpression as a VC extension to "Cisco Enhanced Memory Pool” as:
where= The Device SysOID.
This would need to be added AFTER the any <Filter> and <VariableGroup> sections located in the ExpressionGroup in the extension. For CiscoEnhancedMempoolMIB, the ExpressionGroup is (with the added):
Then you'd need to add the attribute 'sysObjectID' (188.8.131.52.184.108.40.206.0) to the attributes section, and use it as in the VCSupportExpression above. So:
This would placed in the AttributeGroup section along with other Attribute definitions. For example, the last Attribute definition in the AttributeGroup section for the Out-of-the-box VC is:
You can place your additional sysObjectID definition after this. After you've done the above, you would import the VC extension as per our TechDocs:
Basically, you would switch your REST client to a PUT request and target the URL (adding the "extension" to the URL between 'snmp' and 'CiscoEnhancedMempoolMib'):
Then update the MFs and VCs and rediscover the device.
The VCSupportExpression tag is described in our TechDocs: