Skip to content
IT Canvass
ITOM deep-dive · Lesson

Discovery patterns

Quick answer

How Discovery identifies devices and applications, and how patterns replaced most probe and sensor scripting.

Key takeaways

  • Patterns replaced probe and sensor scripting for new content
  • Discovery is classify, identify, explore
  • Debug patterns against a live target through the MID server
  • Empty results usually mean credentials, not logic

The sequence

Discovery scans a range, classifies what answers, then runs identification and exploration. Classification decides what the device is, identification matches it to a CI or creates one through the identification engine, exploration collects the detail.

Probes and sensors versus patterns

Probes issue commands and sensors parse the output with JavaScript. Patterns do the same work declaratively in Pattern Designer with steps and variables, and they are far easier to debug and maintain. New content is pattern based, and custom extensions should be too.

Debugging

Pattern Designer has a debug mode that runs against a live target through a MID server and shows each step result.

  • Start from the ECC queue when nothing appears, no input means the MID never ran the job
  • Check credentials affinity, a wrong credential produces empty results rather than errors
  • Confirm the CI class in the identification section before blaming the pattern

Want to learn this properly?

Our live, instructor-led ServiceNow Training covers this hands-on, with real projects and a certification path.

Check your understanding

  1. Which stage decides whether a CI already exists?

    • A. Classification
    • B. Identification
    • C. Exploration
    • D. Reconciliation
    Show answer

    B. Identification

    The identification engine matches incoming data to existing CIs.

  2. Where do you look first when Discovery returns nothing?

    • A. sys_log
    • B. The ECC queue
    • C. The CMDB
    • D. Event management
    Show answer

    B. The ECC queue

    The ECC queue shows whether the MID server received and answered the job.

Frequently asked questions

Do we still need probes and sensors?

Only for legacy content or edge cases. Build new extensions as patterns.

Why does Discovery create duplicate CIs?

Identification rules did not match on a strong identifier such as serial number. Fix the identification rule, not the pattern.
CallWhatsAppEnquire