SNMP Location Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2017 12:24 PM
I'm currently working with our Network Engineering team to validate that discovery is capturing all necessary data, but we've noticed we are not able to capture the location of our routers or switches. After talking with the team, they mentioned that the location data should be available via the following OID:
OID: 1.3.6.1.4.1.637.3.1.5.3.1.5
MIB: ADN-MIB
So now I'm left wondering how I specify this OID to be used for both routers and switches to populate the Location field on the CI and Asset form.
How do I get this to work?
Thanks!
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2017 02:48 PM
Are you using probes/sensors or patterns?
(For what it's worth - this exact problem is one of the labs on ServiceNow's Discovery training course! ServiceNow Discovery Training )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2017 02:53 PM
Thanks for the reply Dave. We are using probes/sensors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2017 07:52 AM
In which case, another custom probe that interrogates that OID and a sensor that parses the returned content to fill in the location field ought to do the trick - just don't forget to add that probe to the list of Exploration probes that run for SNMP devices.
I can see two particular challenges here, mind:
- my OID for location is sysLocation.0 (.1.3.6.1.2.1.1.6.0) - so perhaps you could copy an existing probe and tweak it to suit
- I believe the location field is a lookup... so if the returned string doesn't match an entry in the [cmn_location] table, the value may be rejected.
For testing purposes, consider appending information to the "comments" field first, just to see what info you're gleaning.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2017 11:58 PM
Hi Willp,
Most of the people will update location field manually in Discovery schedules. So that the location field gets updated to all the devices which are discovered from that schedule.
But if you want to update it through probe and sensors then I would recommend you to create new custom probe and sensor rather than modifying the existing probes and sensor.
I am not sure ServiceNow is having ADN MIB in OOB if it is not there upload it and create new probe and sensor. To create custom probe and sensor please read the below article. You will get to know how to create custom SNMP probe and sensor.
Discovery 201: Collect More with Custom Probes and Sensors
Regards,
Vivek
Based on the impact hit like, helpful or correct