Most trials already include one hub and sensor. Use these instructions when you need to add a second or third Sensor, if you have additional networks, want to balance performance, or need redundancy.
Prerequisites
Supported operating systems
.deb packages:
Debian 12 (x64, current stable and previous release)
Ubuntu 22.04 LTS (x64, current LTS and previous LTS)
.rpm packages:
CentOS Stream 9 (x64, current and previous stream release)
Fedora 40 (x64, current and previous release)
openSUSE Leap 15.6 (x64, current and previous release)
Red Hat Enterprise Linux 8 (x64, current and previous minor release)
SUSE Linux Enterprise Server (SLES) 15 SP6 (x64, current and previous service pack)
Install the sensor and hub
In your preferred site, go to Discovery > Systems > Download installers/packages.
Select Network Discovery > Download Lansweeper repository package for the Linux Debian OS.
Open a terminal and install the package:
sudo dpkg -i ./lansweeper-repository.deb
sudo apt update
In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.
The expiration date indicates when the linking code can no longer be used to establish a new connection between a site and your discovery system. Any existing connection between the system and your site will remain active after the expiration date.
Install the Network Discovery hub. Replace YourCloudTokenHere with your actual linking code and run:
sudo env LINKING_CODE=YourCloudTokenHere apt install lansweeper-network-discovery-hub
Install the sensors:
sudo env HUB_CODE=YourHubCodeHere apt install lansweeper-network-discovery-it-sensor
sudo env HUB_CODE=YourHubCodeHere apt install lansweeper-network-discovery-ot-sensor
Once the sensors are installed, go to their installation directory and open appsettings.json.
In the file, find "HubUrl": "https://localhost:59525/IT/Sensor" and replace localhost with the name of your remote hub, for example "HubUrl": "https://MyRemoteHub01:59525/IT/Sensor".
Restart the services:
sudo systemctl restart lansweeper-network-discovery-it-sensor
sudo systemctl restart lansweeper-network-discovery-ot-sensor
In your preferred site, go to Discovery > Systems > Download installers/packages.
Select Network Discovery > Download Lansweeper repository package for the Linux Red Hat OS.
Open a terminal and install the repository package you copied to your machine:
sudo yum install ./lansweeper-repository-1-0-x86_64.rpm
sudo yum update
In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.
The expiration date indicates when the linking code can no longer be used to establish a new connection between a site and your discovery system. Any existing connection between the system and your site will remain active after the expiration date.
Install the Network Discovery hub. Replace YourCloudTokenHere with your actual linking code and run:
sudo env LINKING_CODE=YourCloudTokenHere
yum install lansweeper-network-discovery-hub
Install the sensors:
sudo yum install lansweeper-network-discovery-it-sensor
sudo yum install lansweeper-network-discovery-ot-sensor
Next steps
Now that your hub and sensors are installed, you can create a discovery credential to access more asset details and create a discovery action to specify what to scan and when.