How to Define Discovery Rules

This task describes how to define a new discovery rule in the Discovery Rules Engine.

If you are working on an upgraded version of UCMDB, you can also edit user-defined rules from your previous version.

To learn more about the Discovery Rules Engine, see Discovery Rules Engine Overview.

To add new user-defined discovery rules:

  1. Go to Adapter Management.

  2. In the Resources pane, click New , and select New Configuration File.

    Enter a name for the new discovery rule. The name must begin with ruleEngine/ and end with .xml.

    For example: ruleEngine/myRule.xml.

  3. In the Package field, select NormalizationRules.

  4. In the Editor pane that opens on the right, enter the new rule.

    An example of valid rules can be found under NormalizationRules > Configuration Files, in ruleEngine/samples.xml.

  5. Click OK.

To edit an existing discovery rule from a upgraded version of UCMDB:

  1. Go to Adapter Management.
  2. In the Resources pane, select the UserDefinedRules package.
  3. Under Configuration Files, select the .xml file for the rule that you want to edit.

    Note  

    • Rules that were defined in previous versions of UCMDB (for example in oidToHostClass.xml), can be found under the UserDefinedRules package, in the configuration file UserDefinedOidToHostClass.xml.
    • Out-of-the-box OidToHostClass rules can be found under NormalizationRules > External resources in the ruleEngine/snmp.gz file.

Related Topics Link IconRelated Information