ODBC Driver Integration

Device42 ODBC driver

The Device42 ODBC driver allows users to connect to Device42 and pull data externally as an ODBC [Open Database Connectivity] data source. The current ODBC driver installs on Microsoft Windows, and we provide instructions to leverage both generic ODBC connectivity, and to connect Microsoft PowerBI to your Device42 ODBC datasource below.

Download the Device42 ODBC driver [which should work with many ODBC-compatible consumers] directly from the Device42 Misc. Tools DL page.

ODBC system requirements

System requirements for connecting to Device42 via ODBC are as follows:

  • Current Device42 installation, properly configured, licensed, running, and accessible.
  • A host system for the D42 ODBC driver running Microsoft Windows.
  • PowerBI software to follow the tutorial below to connect to the Device42 ODBC data source.

Installing the Device42 ODBC driver

To install the Device42 ODBC driver, download the .exe installer from https://device42.com and double click to install on a Microsoft Windows-based instance. Simply follow the instructions on the screen, clicking “Next” until you see “Installation Complete”, indicating you have finished installing the Device42 ODBC data source driver:
ODBC Driver Installation complete Windows

Connecting PowerBI to the Device42 ODBC datasource

Device42’s ODBC driver works to connect Microsoft PowerBI directly to your Device42 CMDB. For details on using PowerBI with Device42’s ODBC driver, see the Microsoft PowerBI Integration documentation.

Creating a DSN

  1. To create / pre-define a DSN (Data Source Name), open the Windows ODBC Data Source Administrator via the Windows Start Menu.
    Windows 10: click Start -> Windows Administrative Tools -> ODBC Data Sources (64-bit); [note there is also a 32-bit version, which you can ignore].
    Windows 7: Click Start -> All Programs -> Administrative Tools -> Data Sources (ODBC):
    ODBC Datasource Admin
  2. Click the Add button to begin adding a new datasource. In the “Create New Data Source” window that is displayed, choose the “Device42 ODBC Driver” and click “Finish”:
    Add Device42 ODBC Driver DSN
  3. On the “Device42 ODBC Driver DSN Configuration” screen that is displayed, enter values as explained below:
    Device42 DSN configuration

    • DSN Name: The name to identify this DSN.
    • Server Host: The host name of the Device42 server.
    • Port: The port number that the Device42 server is servicing requests on. The default value is the standard SSL port of 443. If you leave this field blank, it will also default to 443.
    • Username: The username you use to login to Device42.
    • Password: The password you use to login to Device42.
  4. Click the “Test” button to try connecting using the information you specified. You will receive a message if the connection could or could not be made. If the connection could not be made, verify that the information you entered is correct.
  5. Click the “Save” button to save the changes you made to the DSN. Your changes will only be saved if the information entered results in a successful connection. If the connection could not be made, verify that the information you entered is correct.

Setup of the Device42 ODBC DSN is complete. You should now be able to utilize the pre-configured DSN throughout PowerBI.

Should you have any questions about the Device42 ODBC driver that aren’t answered here, please open a ticket at https://support.device42.com or email support@device42.com.