How to initiate Discovery health rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2025 09:07 AM
How to initiate Discovery health rules in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 11:44 AM
Hi @pavansakala ,
Discovery Health Rules are checks that run after Discovery scans, helping validate:
CI creation success
Duplicate CI detection
IP range issues
Pattern/probe failures
Classification problems
Health Rules Run Automatically After a Discovery
When you run Discovery on a schedule or manually via a Quick Discovery, ServiceNow automatically triggers the health rules based on the configuration.
No need to manually call them unless you're troubleshooting or testing.
Health Rules Run Automatically After a Discovery
When you run Discovery on a schedule or manually via a Quick Discovery, ServiceNow automatically triggers the health rules based on the configuration.
No need to manually call them unless you're troubleshooting or testing.
var dhm = new DiscoveryHealthManager();
dhm.runHealthRules();
Steps to View / Manage Discovery Health Rules
Go to Discovery > Discovery Health > Health Rules
You’ll see a list of out-of-the-box (OOB) rules like:
Duplicate Windows Servers
Misclassified Linux devices
Devices with missing serial numbers
You can:
Activate/deactivate rules
Customize conditions
Create new ones using standard filters
Each rule defines:
What CI class it targets (e.g., cmdb_ci_win_server)
What condition it checks for
Whether it’s critical
To view the outcomes of the health rules:
Go to Discovery > Discovery Health > Health Results
Filter by:
Discovery run
Timeframe
CI class or IP range
These results help you clean up your CMDB and improve Discovery quality.
🧪 Use in Dashboards or Alerts
You can display Discovery Health Rule results in:
CMDB Health Dashboards
Discovery Reports
Notifications (if you want to alert teams when critical rules are triggered)
If my response helped, please hit the 👍Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Pratik