Lansweeper Integration using Script

Lansweeper Integration using Script

Lansweeper to ServiceDesk Plus (SDP) Integration Guide

Overview

The Lansweeper connector enables synchronization of asset data from Lansweeper to ServiceDesk Plus (SDP).
This connector is only supported for Lansweeper environments where the database has been migrated to a standalone SQL Server.


Prerequisites

  • Lansweeper database running on a standalone SQL Server

  • ServiceDesk Plus installed and accessible

  • Access credentials for the Lansweeper SQL Server

  • SDP home directory access


Connector Package

  • The Lansweeper Connector ZIP file is attached.

  • The package contains:

    • LansweeperDBConnector.bat / .sh

    • LansweeperScheduler.bat / .sh

    • Required connector libraries and configuration files


Integration Steps

Step 1: Extract the Connector

  1. Unzip the provided connector ZIP file.

  2. Copy the LansweepertoSDPConnector directory.

  3. Paste the directory into the SDP home directory.


Step 2: Configure Lansweeper Database

  1. Run the database configuration script:

    • Windows: LansweeperDBConnector.bat

    • Linux: LansweeperDBConnector.sh

  2. A configuration window will open.

  3. Enter the following SQL Server details:

    • Host Name

    • Port

    • Database name

    • Username

    • Password

  4. Test and Save the configuration.

Note: This step is required only for configuring the Lansweeper database connection.


Step 3: Push Data to SDP

  1. Run the scheduler script:

    • Windows: LansweeperScheduler.bat

    • Linux: LansweeperScheduler.sh

  2. The connector will start fetching asset data from Lansweeper.

  3. The fetched data will be pushed to ServiceDesk Plus automatically.


Notes

  • LansweeperDBConnector
    Used only for configuring the Lansweeper SQL database connection.

  • LansweeperScheduler
    Used to fetch data from Lansweeper and push it to SDP.

  • Ensure the SQL credentials provided have sufficient permissions to read Lansweeper data.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Dynatrace Integration using Script - v1

                      Dynatrace to SDP Integration Tool – Configuration Guide What this Integration Does This integration automatically connects Dynatrace with ServiceDesk Plus to keep your CMDB up to date. It regularly reads information from Dynatrace about your servers, ...
                    • MS Intune Integration using Script - v1

                      This article guides you through the process of integrating Intune data into SDP using a Python script. Prerequisites: - Python 3.6 or above Ensure Python is installed and added to your PATH. Use python --version or python3 --version to verify. ...
                    • How to update Request Additional fields during request create/update using Business Rules

                      This is a sample python script to update the Request Additional Field Values during request create/update based on certain criteria using Business Rules Execution Steps:  1. Download the attached zip 2. Move the files to ...
                    • Script to add worklog using custom schedule

                      What is a Custom Schedule? Custom Schedules are actions scheduled on a specific date and time with or without repeat frequency. The actions are specified in a customized script file. Any data from ServiceDesk Plus can be sent to the script through ...
                    • Azure DevOps Integration

                      Feature: Azure DevOps Integration <--> ServiceDeskPlus (Plugin Model) --> Create a new work-item in Azure DevOps when a request is created in SDP --> Update SDP request status when a Azure DevOps work-item status is updated --> Updating Comments and ...