Hi, I am trying to integrate FleetDM with ServiceNow to bring asset data into CMDB table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 11:59 AM
if someone has done this integration then please help with the steps and procedures.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @karthiksethu , I saw this come back up and wanted to add the part that usually decides whether the CMDB stays clean.
An API pull with a transform or script that upserts into cmdb_ci_computer on hostname or UUID will get computer rows in, and it sounds like you already have that working. But a computer-table upsert, even with coalesce, isn't the same as sending the data through the Identification and Reconciliation Engine (IRE).
If you want the related records to land correctly, send one IRE payload per host under a dedicated discovery source, and include the related items in that payload:
- The computer (or the correct server class)
- A serial-number record, if your identification rule uses one
- The primary network adapter and IP address, as dependent CIs
- The assigned user, looked up against an existing user record rather than typed in as free text
Use IRE's identification APIs (for example createOrUpdateCIEnhanced), not insert()/update() on cmdb_ci* tables or a transform that bypasses IRE. The load should be designed to reconcile through IRE identification rules, typically serial number, then name, then network adapter. Check the actual rule on your hardware class.
Hostname or UUID coalesce is a common way to get duplicates when a device is renamed, re-imaged, or already exists from SCCM, Intune, Jamf or Discovery.
A few things that save pain:
- Give the feed its own discovery source value. That's how you set precedence, filter the CMDB and report on it.
- Filter out missing or junk serials ("0", "To be filled by O.E.M.") before they reach IRE, or those devices will match each other.
- Decide attribute-level precedence before production, especially for model, OS and assigned user, and put it in reconciliation rules.
- Product models and asset records are a separate design choice. If you need model lookup, handle it as its own step. Asset records are a CMDB-to-asset policy, not something to bury inside the computer transform.
- Don't delete a CI when the host drops out of Fleet. Flag it stale and make retirement opt-in.
- On the Fleet side, use an API-only user with the Observer role, store the token in a Connection & Credential Alias, and pull on a schedule (through a MID Server if Fleet is private).
I wrote a longer walkthrough of this approach here: www.linkedin.com/pulse/when-auditor-asks-device-list-fleet-cmdb-should-agree-brandon-bqxje
Disclosure: I'm Brandon Wilson, a ServiceNow Certified Technical Architect and the founder of Emetrix Solutions. I built the Emetrix CMDB Connector for Fleet, a scoped app that follows the approach above, for Fleet 4.70 and later 4.x. Tested on ServiceNow Zurich and Australia. It's in ServiceNow Store review, with a 30-day Store trial at launch.
ServiceNow is a registered trademark of ServiceNow, Inc.; Emetrix is not affiliated with or endorsed by ServiceNow or Fleet Device Management.
If you want early access, comment or send me a DM. Details: emetrix.io/store/fleet-connector. If you'd like the audit-readiness checklist I use, send me a DM and I'll share it.