Importing and exporting custom OID scanning targets

The ability to import/export OID scanning targets was introduced in Lansweeper 7.1. If you are using an older Lansweeper release, you will need to update by following the instructions in this knowledge base article.
Not all Lansweeper licenses support custom OID imports/exports. If your particular license does not support this feature, please visit this page for more information.

From version 7.1 onward, Lansweeper allows you to import and export custom SNMP OID targets into and from other Lansweeper installations. This enables you to migrate your custom OID scanning targets between installations and to share targets with other Lansweeper users, e.g. through our online forum.

SNMP is one of the protocols through which Lansweeper can retrieve data from network devices like printers, switches, routers etc. By default, Lansweeper retrieves various properties from these devices via SNMP. This includes basic details like serial number and description, but also more advanced details like interface and printer toner information. A device that has been successfully scanned via SNMP can be identified by the device OID listed in its Summary tab. In addition to this, the custom OID scanning feature allows you to retrieve any other information that is stored in an SNMP OID on the device. Custom OID scanning targets can be manually created or, from Lansweeper 7.1 onward, imported.

Exporting custom OID scanning targets

To export custom OID scanning targets, do the following:

  1. Browse to the following section of the web console: Scanning\Custom OID Scanning
    Custom OID Scanning menu
  2. Tick the checkboxes in front of any custom OID scanning targets you want to export. Alternatively, tick the checkbox at the top to select all targets.
  3. Hit the Export button at the top of the page.
    selecting custom OID scanning targets for export
  4. Optionally, in the resulting popup, uncheck parts of the OID targets that you do not want to export.
    exporting custom OID scanning targets
  5. Hit the Export button. The OID targets you've selected are exported in XML format and added to a file ending in .ls.oid. They can now be imported into another Lansweeper installation.
    exported custom OID scanning targets

Importing custom OID scanning targets

To import custom OID scanning targets, do the following:

  1. Find a .ls.oid file you want to import. Any OID target configuration that was exported from another Lansweeper installation to a .ls.oid file can be imported into yours.
  2. Browse to the following section of the web console: Scanning\Custom OID Scanning
    Custom OID Scanning menu
  3. Hit the Import button at the top of the page.
  4. Hit Browse... or Choose File in the resulting popup, select your .ls.oid file and hit Open.
    selecting OID file for import
  5. Optionally, in the resulting popup, uncheck parts of the OID targets that you do not want to import.
  6. Optionally, change other settings of the OID targets to be imported: description, target type, target, manufacturer or model.
  7. Hit the Import button. The OID targets you've selected are now imported into your Lansweeper installation. The OID data will be retrieved for the specified assets once those assets are rescanned.
    importing custom OID scanning targets

Related Articles