The following list describes filter examples.
Example 1:
<Filter> hrStorageType.toString() == "1.3.6.1.2.1.25.2.1.4" &&
hrStorageSize != 0
</Filter>
In this example only partition instances that have a size <> 0 and a storageType == hrStorageFixedDisk are created in the data repository.
Example 2:
<Filter> (jnxOperatingCPUIndex.toString() == "9.2.0.0" ||
jnxOperatingCPUIndex.toString() == "9.1.0.0" ) &&
(jnxOperatingState != 1 || jnxOperatingCPU > 0 )
</Filter>
Example 3:
<Filter> (rttMonCtrlAdminRttType==9) &&
( !(rttMonCtrlAdminOwner.toString() contains "Network Health") )
</Filter>
Example 4:
<Filter> (snmpOIDParser(sonetIndex,2,2).toString()=="1") </Filter>
This example uses a vendor certification utility function to parse the OID.
Note: For a complete list of functions, see the appendix in this guide.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|