How Host name for Linux is identified in Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2018 12:28 PM
Hi,
I like to know how discovery identifies the hostname for Linux servers.
when I checked the probe I don't find anything like nslookup
please share the probe name and the exact command used to identify the hostname.
Regards,
Imran Basha M.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2018 12:40 PM
According to the docs, it is using DNS to get it. Most of the commands are given here, but not for name, other than DNS and NBT.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2018 05:36 PM
Hi Imran,
As I checked,
If Discovery uses a probe, then the "Linux - Identify" is responsible for collecting hostname and updates to CMDB.
If Discovery uses pattern, then the step "Extract hostname from uname" in discovery pattern "Linux Server" used to collect the hostname.
It seems both the probe and pattern uses command "uname" to get the hostname.
Regards,
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2018 07:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2018 07:08 AM
Just to add some more detail to this depending on how you have discovery properties setup it may change. Out of the box though the name is pulled from DNS during the Shazzam phase and it will use that if it successfully discovers. If you have the discovery property checked to use the name coming back from discovery then it will use what comes back from uname.
If you are using patterns there are some pre/post processing scripts that set it but I believe they work the same way. Hope this helps.