OBLYTECH Logo
OBLYTECH Logo

Customize a discovery pattern for Basic Software Asset Management

To customize a discovery pattern for Basic Software Asset Management, use sam_admin to configure the pattern’s post-processing software selection, then create its software name mapping. Discovery can then copy the selected software’s data into Software Installation records for reconciliation. Validate the resulting installation data before treating the change as complete.

Decide which discovery pattern needs the extension

Basic Software Asset Management already uses patterns for SQL Server, Exchange, and Oracle Database. The pattern names associated with that starting coverage are MSSQL server discovery, Exchange MailBox discovery, and Oracle database discovery. Extending coverage means connecting an additional pattern’s discovered software to the installation data that SAM uses.

For example, if you need MySQL data, start with the discovery pattern that collects that product’s data. Do not assume that adding a product name to a mapping record creates the underlying discovery capability. Discovery collects and processes information through probes, sensors, and patterns, then updates the CMDB. This configuration connects discovered pattern data to SAM.

Before changing anything, write down the product you want represented, the pattern you intend to configure, and a target installation you can inspect afterward. This gives the change a concrete acceptance condition: the selected software should produce the expected installation data after Discovery runs. A general statement such as “improve software coverage” is harder to test.

Use the Software Asset Management overview if you need to place this configuration within the wider asset management process. Keep this change focused on the route from a discovery pattern to a software installation.

Prepare the class value and required access

The role required for this customization procedure is sam_admin. Arrange for that role for the pattern post-processing configuration and the software name mapping work described here. Do not infer permissions for other Discovery administration tasks from this requirement.

Open Pattern Designer > Discovery Patterns and locate the pattern whose software data you want SAM to use. Copy the value from its Class Name field. Preserve that value for the mapping step; it identifies the discovery pattern’s class, while the product and publisher identify the software.

As a change-management precaution, record the current selection and relevant mapping values before editing. Keep the copied class value beside the intended publisher and product in your change notes.

Check labels and navigation against your instance and release. Plugin names differ between the Software Asset Management Foundation plugin and Basic Software Asset Management, which have separate documentation. Check the plugin name on your instance and follow the steps for the plugin you have installed. Use the corresponding controls on your instance rather than assuming that product naming differences require a different data flow.

Customize a discovery pattern for Basic Software Asset Management

The first configuration change takes place on the discovery pattern. Work through this sequence with the target product and copied class value already identified:

  1. Navigate to Pattern Designer > Discovery Patterns.
  2. Open the pattern that discovers the software you want to include.
  3. Copy its Class Name value if you have not already retained it.
  4. Open the Pre/Post Processing related link.
  5. In Sync Installed Software, select the software you want to add, such as MySQL.
  6. Choose Update to save the configuration.

The selection in Sync Installed Software determines which software’s discovered data is copied into Software Installation [cmdb_sam_sw_install] as Discovery runs. Treat this as a data selection step. Reviewing the pattern name alone does not tell you whether the intended software is included in that selection.

Before moving on, reopen the saved configuration and compare its software selection with your change notes. This is a recommended verification step: it catches a wrong selection or an unsaved edit before you investigate downstream data. Keep evidence of the saved value with the pattern identity so another administrator can review the same configuration.

If the broader issue involves several sources of software data, use the software asset integration patterns guide to organize that work. Resolve this pattern’s configuration separately so its contribution remains testable.

Create the software installation name mapping

The second configuration change is a new record in Software Installation Name Mapping [cmdb_sam_sw_name_mapping]. This record associates the discovery pattern’s class with the publisher and product information needed for the software installation data. Complete it after configuring the pattern’s software selection.

  • Class name: paste the Class Name value copied from the discovery pattern.
  • Publisher: enter the software publisher. For the MySQL example, the publisher is Oracle.
  • Product: enter the product name, such as MySQL.

Choose Submit to save the new mapping. Keep the two class labels straight: Class Name is the field you copied from the pattern, and Class name is the destination field in the mapping. Copying the value avoids introducing a spelling difference while moving between the records.

Review the saved mapping against the source pattern before running your validation. A recognizable product name is not enough evidence that you mapped the intended class. Compare class, publisher, and product together. If the mapping does not match your intended change, resolve that discrepancy before drawing conclusions from a subsequent Discovery run.

For help planning this work, see ServiceNow implementation.

Validate the next Discovery result

Run Discovery for the software covered by the configured pattern, then inspect the resulting Software Installation records. The customization makes the selected pattern’s discovered software available to SAM for reconciliation. Saving the configuration is therefore an intermediate checkpoint; the resulting installation data is the evidence you need to assess the change.

A recommended acceptance check follows one known target through the sequence. Confirm that the pattern discovered the intended software, that the saved software selection includes it, and that the installation data represents the expected product and publisher. Record what you expected alongside what you observed so a missing or unexpected result has a specific description.

Separate discovery coverage, installation data, and reconciliation outcomes in your test notes. A software installation appearing is evidence for the data transfer you configured. It does not, by itself, establish a complete licensing outcome. For adjacent work on software data quality, see software discovery and normalization.

Use an acceptance record with the pattern identity, copied class, selected software, saved mapping, Discovery observation, and installation observation. Add the expected result before testing, then record any difference afterward. The SAM testing and acceptance checklist can help organize the broader review.

Investigate missing data and edition gaps

If the expected installation is absent, investigate the chain in order. First establish whether the selected pattern discovered the target software. Then inspect the saved Sync Installed Software selection. Finally, compare the mapping’s Class name with the original pattern value and check its Publisher and Product entries. These are diagnostic checkpoints, not a claim that a particular symptom has one cause.

Keep an edition gap separate from an absent product installation. If the product has an edition that Discovery does not identify automatically, a manual SAM Foundation edition override is the next configuration consideration. Do not guess the edition or treat the product name mapping as a substitute for establishing it.

When the expected software data is present and there is no known undiscovered edition, this workflow does not require another configuration step. Close the change with the saved settings and test observations. If a discrepancy remains, describe the first point where observed data differs from the expectation, rather than changing several settings at once.

Questions for reviewing the customization

What should a reviewer receive at handover?

Provide the reason for adding the product, the records changed, the before-and-after values, and the test result. Include enough detail to locate the pattern and mapping without relying on the implementer’s memory. This is a recommended handover format, rather than an additional product setting.

How should a team choose its first test target?

Choose a target where the software identity is already known and where the team can inspect the discovery result. A familiar example makes it easier to distinguish a configuration problem from uncertainty about what is installed. Expand testing after that initial comparison is understood.

Should several products be added in one change?

As an implementation approach, keep each product’s pattern, class, mapping, and expected result separately traceable. If several products share a change window, review each result individually. A successful result for one product is insufficient evidence for accepting the others.

How can an unresolved result be handed to another administrator?

Describe the target software, the expected installation data, and the last checkpoint that matched your expectation. Attach the saved configuration values and the observed difference. That gives the next administrator a defined investigation starting point without presuming which component needs correction.