Discovery is not updating the Name of the Linux server properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 10:13 AM
Hi All,
We discovered few Linux server recently and noticed that the name of the servers are same and Ip address and host names are different. Server team confirmed that they are 4 diff servers and name should be different. On debugging the pattern I could see the name of the servers are different in the payload but somehow service now is updating the same name for all the 4 servers. In the sub prod instance I tried deleting one of the Ci and ran quick discovery. Service now created new Ci with the correct name from the payload. I manually changed the name of the Ci and after running quick discovery it didn't update the name to the actual one from the payload. Please let me know how to troubleshoot further on this. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 08:54 PM
Hi @Suvetha S ,
Need to debug the pattern of Linux server and set the required information or variable for get the host name step.
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.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024