Part 2: Step-by-Step Guide to CMDB Discovery Using ServiceNow

maheshkhatal
Mega Sage

Prerequisite:

📋 Before you begin, ensure the following:

  • Basic Understanding of MID Server: MID Server should be installed, configured, and running in your ServiceNow instance. Refer my previous article regarding How to setup Mid Server  
  • CMDB Discovery Architecture: Ensure the CMDB Discovery plugin is installed.

Step 1: Activate the Discovery Plugin

1️⃣ Login to ServiceNow:

  • Go to My Profile.
  • Select Activate Plugin.
  • Choose the Discovery Plugin (Refer to the screenshot below).
 

maheshkhatal_4-1735479757113.png

 

💡 Note: Plugin installation may take some time.

📧 You will receive a confirmation email once the plugin is successfully activated.

🔗 For more details on CMDB functionality, refer to the CMDB Documentation.

 

Step 2: Verify MID Server Installation

🔍 Ensure that the MID Server is installed and operational:

  1. Navigate to MID Server → Servers in the ServiceNow instance.
  2. Verify that the MID Server is installed, up, and running.

maheshkhatal_6-1735479907776.png

 

🛠What if the MID Server is not installed?
Refer to this article written by me regarding Mid Server Installation Guide  for detailed instructions.

 

Step 3: Initiate Discovery for the Local Machine

🚀 Purpose: Gather detailed information about the local machine, such as:

  • Installed software.
  • Running processes with port numbers.
  • Machine configurations.

Steps to Start Discovery:

  1. In ServiceNow, go to the Application Navigator and locate Discovery Schedules.
  2. Open it for configuration.
  3. Click the Quick Discovery button.
  4. In the modal:
    • Enter the IP address of the machine (use ipconfig in CMD to find the IP) OR use 127.0.0.1 for localhost.
    • Choose the appropriate MID Server for the machine.
  5. Click OK to begin the discovery process.

maheshkhatal_7-1735479969559.png

maheshkhatal_8-1735480005189.png

 

 

🔄 Observe the Process:

  • A record is created when the discovery starts.
  • Monitor fields like State (changes from "Active" to "Completed").
  • Observe device states transitioning from Identifying to Classified.

maheshkhatal_9-1735480045372.png

 

maheshkhatal_10-1735480073860.png

 

maheshkhatal_12-1735480121497.png

 

📌 Result: A CMDB CI for the localhost is created.
🔗 Click on the CI to explore further details.

maheshkhatal_13-1735480175298.png

 

Step 4: Analyze Discovery Information

📊 Open the localhost record to view all gathered details, such as:

  • Installed software.
  • Database servers (if any).
  • Running processes.
  • Configuration details.

Explore Dependency Maps:

  • Click on the Dependency Map Icon.
  • Analyze the horizontal and vertical dependencies.

📸 Example:

maheshkhatal_14-1735480236267.png

maheshkhatal_15-1735480257745.png

maheshkhatal_16-1735480291624.png

maheshkhatal_17-1735480326650.png

 

 

Conclusion

By following these steps, you can successfully activate the Discovery plugin, configure the MID Server, initiate discovery, and analyze the collected data to manage your CMDB efficiently.

🛡Pro Tip: Regularly monitor and update your Discovery schedules to keep the CMDB updated and accurate.

 

Thank you,

Mahesh.

0 REPLIES 0