We have a device which discovers the CPU metric family and need to configure the Threshold or Create a Group only for CPU's components. Similarly for memory and partitions. How can this be done?
DX NetOps CAPM all currently supported releases
By default some of components are not synchronized to the NetOps Portal.
Here are the steps to get the component to synchronize to PC to be used in groups or rules.
Please use the RestClient
http://<DAHOST>:8581/typecatalog/components
and find the component you want. For example CPU, Memory, Partition...http://<DAHOST>:8581/typecatalog/components/CPU
</FacetType>
:<ItemSyncDefinition categorize="false" context="true" groupBy="false" itemSubtypeName="cpu" itemTypeLabel="CPU" itemTypeLabelPlural="CPUs" itemTypeName="component" mapped="false" />
<DataModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" namespace="http://im.ca.com/inventory" xsi:noNamespaceSchemaLocation="ComponentFacet.xsd">
<Author>CA</Author>
<Version>1.01</Version>
<FacetType name="CPU">
<Documentation>A CPU resource.</Documentation>
<FacetOf namespace="http://im.ca.com/core" name="Item"/>
<Component>true</Component>
<WebService version="1.0.0">
<EndPoint create="false" delete="false" get="true" getList="true" update="false" url="cpus" createOnlyIfUnique="false"/>
<Reference ref="{http://im.ca.com/inventory}DeviceComponent" use="Required"/>
</WebService>
<ItemSyncDefinition categorize="false" context="true" groupBy="false" itemSubtypeName="cpu" itemTypeLabel="CPU" itemTypeLabelPlural="CPUs" itemTypeName="component" mapped="false" />
</FacetType>
</DataModel>
http://<DAHOST>:8581/typecatalog/components/CPU
Content-Type: application/xml
http://<DAHOST>:8581/typecatalog/CPU
to check that the new ItemSyncDefinition was added:
Now you can see all CPU's components example in group, create a new Group with this rule:
Results:
l