on 12-20-2023 03:26 PM - edited Friday by Nils
This page provides information on installing Network Discovery, and how you can start remote discovery of your IT and OT assets.
Lansweeper's Network Discovery enables you to discover all IT and OT assets within your network. By utilizing the necessary discovery credentials, Network Discovery gathers all asset details both on the local machine and on remote IT assets.
On this page:
The computer running the hub component of Network Discovery must allow the following outbound connections using TLS 1.2 or higher, when you've linked the hub with your Lansweeper Site:
URL | Description |
---|---|
https://discovery-gateway.lansweeper.com/ (port 443) | Authenticates, logs in, syncs data, and gets auto updates from your Lansweeper Site. |
https://download.lansweeper.com/ (port 443) | Downloads updates automatically when a new version is released. |
If the computer running Network Discovery requires a proxy server, you can provide the details using a silent installation method.
Network Discovery can be installed on the following operating systems.
Specifications | Minimum for 2 sensors | Recommended for up to 5 sensors | Recommended for up to 10 sensors | Recommended for up to 100 sensors |
---|---|---|---|---|
CPU | x64, single-core 1 GHz | x64, quad-core 2 GHz | x64, octa-core 2 GHz | x64, octa-core 4 GHz |
RAM | 2 GB RAM | 16 GB RAM | 32 GB RAM | 256 GB RAM |
Free disk space | 1 GB | 10 GB | 50 GB | 500 GB |
Internal network speed | 100 Mbps | 1000 Mbps | 1000 Mbps | 1000 Mbps |
External network speed (to your Site) | 20 Mbps | 100 Mbps | 300 Mbps | 300 Mbps |
Specifications | Minimum | Recommended |
---|---|---|
CPU | x64, single-core 1 GHz | x64, dual-core 2 GHz |
RAM | 1 GB RAM | 4 GB RAM |
Free disk space | 500 MB | 1 GB |
Network speed | 100 Mbps | 1000 Mbps |
By default, Network Discovery will be installed in the following locations:
C:\Program Files\Lansweeper Network Discovery
/opt/lansweeper-hub
/opt/lansweeper-it-sensor
/opt/lansweeper-ot-sensor
/Application Support/Lansweeper Network Discovery
By default, logs can be found in the following locations:
tools\gatherlogs\gatherlogs.ps1
sensors\logs\Lansweeper.IT.Sensor.log
hub\logs\Lansweeper.Discovery.Hub.log
C:\Users\%USERNAME%\AppData\Local\Temp\Lansweeper_Network_Discovery_installer.log
C:\Users\%USERNAME%\AppData\Local\Temp\installbuilder_installer_00000.log (if the installation was not succesful)
C:\Users\%USERNAME%\AppData\Local\Temp\Lansweeper_Network_Discovery_uninstaller.log
C:\Users\%USERNAME%\AppData\Local\Temp\Lansweeper.IT.Hub.log
/tmp/Lansweeper_Network_Discovery*.log
When reaching out to Lansweeper for troubleshooting, we offered a built-in log collector tool, so we have more info during the analysis of the issue.
Gather the logs on Windows using C:\Program Files\Lansweeper Network Discovery\tools\gatherlogs\gatherlogs.ps1
(using an elevated PowerShell prompt). This will return a .zip file, which you share with our support department.
Check the status of the sensors connected to the hub: https://localhost:59525/status/sensors
Check the status of the sync between Network Discovery hub and Lansweeper Site: https://localhost:59525/status/sync
Check the status of the import functionality for IT Agent Portable: https://localhost:59525/status/import
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
cloudtokenvalue
with your copied linking code. If the computer requires a proxy server, remove the #
for proxyserver=myproxyserver.domain.local
and proxyport=8080
. mode=unattended
accepteula=1
path=C:\Program Files\Lansweeper Network Discovery
components=hub,itsensor,otsensor
hubinstance=localhost
hubport=59525
installnpcapdriver=1
dcomautoconfig=1
#cloudtoken=cloudtokenvalue
#proxyserver=myproxyserver.domain.local
#proxyport=8080
X.X.X
in Lansweeper-network-discovery-X.X.X
with the version number of your installer:Lansweeper-network-discovery-X.X.X-windows-x64-installer.exe --optionfile lansweepernetworkdiscoveryinstallation.cfg
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
cloudtokenvalue
with the copied linking code. If the computer requires a proxy server, add parameters --proxyserver proxyserveraddress
and --proxyport 8080
. Replace X.X.X
in Lansweeper-network-discovery-X.X.X
with the version number of your installer.Lansweeper-network-discovery-X.X.X-windows-x64-installer.exe --mode unattended --accepteula 1 --path "C:\Program Files\Lansweeper Network Discovery Discovery" --cloudtoken cloudtokenvalue
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
To uninstall the Network Discovery on Windows, either:
"C:\Program Files\Lansweeper Network Discovery\uninstall.exe" --mode unattended
Only silent installs are currently supported for Network Discovery on Linux.
cloudtokenvalue
with the copied linking code:
sudo dpkg -i ./lansweeper-repository.deb
.sudo apt update
to make the system aware of the repository.sudo env LINKING_CODE=cloudtokenvalue apt install lansweeper-network-discovery-hub
sudo env apt install lansweeper-network-discovery-it-sensor
.sudo env apt install lansweeper-network-discovery-ot-sensor
.sudo apt update && apt upgrade lansweeper-network-discovery-hub
sudo apt update && apt upgrade lansweeper-network-discovery-it-sensor
sudo apt update && apt upgrade lansweeper-network-discovery-ot-sensor
sudo yum install ./lansweeper-repository-1-0-x86_64.rpm
.sudo yum update
to make the system aware of the repository.sudo env LINKING_CODE=cloudtokenvalue
.sudo yum install lansweeper-network-discovery-hub
.
sudo yum install lansweeper-network-discovery-it-sensor
.sudo yum install lansweeper-network-discovery-ot-sensor
.sudo yum update && yum upgrade lansweeper-network-discovery-hub
sudo yum update && yum upgrade lansweeper-network-discovery-it-sensor
sudo yum update && yum upgrade lansweeper-network-discovery-ot-sensor
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
To uninstall Network Discovery Linux, open your terminal and run the following commands, depending on your environment.
Debian and Ubuntu:
sudo dpkg -r lansweeper-network-discovery-ot-sensor
sudo dpkg -r lansweeper-network-discovery-it-sensor
sudo dpkg -r lansweeper-network-discovery-hub
Red Hat, CentOS, and SUSE:
sudo rpm -e lansweeper-network-discovery-it-sensor
sudo rpm -e lansweeper-network-discovery-ot-sensor
sudo rpm -e lansweeper-network-discovery-hub
There are multiple you can use to install the Network Discovery on a macOS computer.
If the computer running Network Discovery requires a proxy server, use a silent install method.
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
cloudtokenvalue
with your copied linking code and modify the content to suit your needs. If the computer requires a proxy server, remove the #
for proxyserver=myproxyserver.domain.local
and proxyport=8080
. #!/bin/sh
PreinstallConfig="/tmp/LansweeperNetworkDiscovery-Preinstall.cfg" # Don't change this path!
[ -f $PreinstallConfig ] && chmod 744 $PreinstallConfig
cat > $PreinstallConfig << EOF
mode=unattended
accepteula=1
path=/Library/Application Support/Lansweeper Network Discovery
cloudtoken=cloudtokenvalue
#proxyserver=myproxyserver.domain.local
#proxyport=8080
EOF
chmod 744 $PreinstallConfig
Enter the following command: sudo ./tmp/LansweeperPreinstallScript.sh
Enter the following command, replacing X.X.X
in LansweeperNetworkDiscovery-X.X.X
with the version number of your installer: sudo installer -pkg Lansweeper-network-discovery-X.X.X-osx-installer.pkg -target /
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
hdiutil attach Lansweeper-network-discovery-0.9.0-16-osx-installer.dmg
to mount the dmg file.cd "/Volumes/Lansweeper Network Discovery"
to navigate to the volume.cloudtokenvalue
with the copied linking code and replacing X.X.X
in Lansweeper-network-discovery-X.X.X-X-osx-installer.dmg
with the version number of your installer. If the computer requires a proxy server, add parameters --proxyserver proxyserveraddress and --proxyport 8080.sudo Lansweeper-network-discovery-X.X.X-X-osx-installer.app/Contents/MacOS/installbuilder.sh --mode unattended --accepteula 1 --path
Now that Network Discovery is installed, check out the Hub and configure Network Discovery.
To uninstall Network Discovery on macOS, you can either:
sudo "/Library/Application Support/Lansweeper Network Discovery/uninstall.app/Contents/MacOS/installbuilder.sh" --mode unattended
Now that Network Discovery is installed, you can check out the Hub and start Network Discovery.
You can optionally add all results from Network Discovery to your inventory in Lansweeper Site.
If required, you can remove Network Discovery, all its sensors, and all data it has brought in from your Lansweeper Site:
Now that you've installed Network Discovery, learn how to Configure Network Discovery.
For a list of answers to frequently asked questions, check out Network Discovery: Frequently Asked Questions.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try NowExperience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now