Azure Cloud Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Team,
We are working on traversal rules for tag-based Service Mapping. Currently, we can see only a few relationships (such as Hosted on and Runs on) in the CMDB, even though Azure Cloud Discovery has been used to populate CIs and their relationships. It seems that other expected relationships are missing. Could anyone please guide us on how to populate these relationships? Do we need to create custom patterns, or is there a recommended best practice to achieve this? Any guidance would be greatly appreciated.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @abhijee,
Before you go anywhere near a custom pattern, check your Traversal Rules in svc_traversal_rules. Azure Cloud Discovery only writes the relationships its out-of-the-box patterns are built to create, which is why Hosted on and Runs on are what you're seeing between the VM and its host/service. Tag-based Service Mapping does not automatically walk every cmdb_rel_ci link on a tagged CI, it only pulls in a related CI if you've told it to traverse that specific relationship via a rule.
- Confirm the relationship already exists in cmdb_rel_ci from Discovery before you build a rule on top of it, traversal rules ride existing relationships, they don't create new ones.
- Create the rule in svc_traversal_rules specifying parent class, relationship type, and child class for each hop you want surfaced.
- Watch the rule count and order, only 5 traversal rules are active by default (svc_by_tags.max.traversal.rules.active), and the order they're evaluated in affects which paths actually get walked.
- Reach for a custom pattern only if the relationship genuinely isn't in the CMDB yet, not to surface something Discovery already created.
References
- Tag-based discovery in Service Mapping
- Tag Based Service Map Not showing Relationships between CIs
- Preconfigured CI relationships in tag-based discovery
Thank you,
Vikram Karety
Octigo Solutions INC