V4.2 FixPack 3:

Example: Configuring geographical discovery by using location data from device records

One way to enrich devices with geographical data is by using location data from the device records.

About this task

The AddGeoLocationData stitcher is provided as a demonstration of one method of adding geographic information from device records. This stitcher assumes that valid geographical data was added to the device record in the SysLocation field in the following format: location address;longitude;latitude. Your network administrator can set the SysLocation field on devices manually or by using a script. To use a different field, modify the stitcher.

To configure discovery to use geographical data from the SysLocation field, complete the following steps.

Procedure

  1. Back up and edit the following stitcher: $NCHOME/precision/disco/stitchers/PostLayerProcessing.stch.
  2. Add the following line at the appropriate place in the file for your discovery data flow, for example, at the end:
    ExecuteStitcher('AddGeoLocationData');
  3. Run a discovery.
    The AddGeoLocationData stitcher adds geographic data to the appropriate fields within the m_ExtraInfo field.