Running NSLOOKUP command for all the CI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 01:05 AM
Hello,
I have requirement to capture the storage device names using nslookup command. This command I need to run locally on MID server and then update the storage device name.
How can be this achieved?
Thanks,
Richa
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 03:49 AM
Approach to ur problem statement
You need to use
nslookup IP_Address_Of_Storage_Device
command on mid server host . It will use reverse DNS to give you host name.
You need to grab the output and parse the Host Name or CI name . If you mid server is on windows os then you can use PS scripting to grab the name using nslookup.
Once you have name then export it into some XLS file and get is imported from Mid server to Service Now Instance. This is simplest way i can think of.
begin and follow one step at a time
================My Approach============
Why can not you run discovery for same or simple xls upload if you get the feed of storage Cis from the team as i see your requirement is just to have CI Name.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 04:13 AM
Thanks for the response Rahul.
How to upload the xls file and how to use that file during a discovery process?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 04:26 AM
steps are here
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0817437
Regards
RP