Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

CI name

AK15
Giga Contributor

Using Discovery to populate CMDB and it puts DNS name in CIs name field but it's not always accurate so how do I make discovery to insert FQDN instead?

1 ACCEPTED SOLUTION

Understood. What is the source of truth for a ci name? NBT, WMI?

There are couple more properties available to address this issue. You can play around with them to see if it suffice. 

glide.discovery.hostname.wmi_trusted

glide.discovery.domain.name.nbt

View solution in original post

12 REPLIES 12

Understood. What is the source of truth for a ci name? NBT, WMI?

There are couple more properties available to address this issue. You can play around with them to see if it suffice. 

glide.discovery.hostname.wmi_trusted

glide.discovery.domain.name.nbt

AK15
Giga Contributor

using WMI. So I guess I can look at glide.discovery.hostname.wmi_trusted.

what is being used out of box in Discovery?

yes, just set it to true. The default one should be DNS.

AK15
Giga Contributor

I'm looking at the Discovery Properties -> Discovery setting and I see DNS or NetBIOS is trusted host name source set to Yes and WMI is trusted host name source is not set. Am I supposed to set DNS to No and WMI to Yes?

I'm new to servicenow so I don't know how to access, glide.discovery.hostname.wmi_trusted.

You're correct.

To see a name of a property you can hover over a question mark near the end of a property description.

OR

Type in sys_properties.list in the navigator, hit enter, and search by a property name.