We’re currently experiencing a high volume of support requests, which may result in longer response times — thank you for your patience and understanding.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This documentation is for the new preview UI. It’s still being refined and is subject to change. For documentation for the old UI, see Knowledge Base.

Article link copied to clipboard
Updated
Published
3 min read

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

  • macOS 13 to current release, x64. Rosetta is required on Apple Silicon (M1 to current chip) until native ARM builds are available.

Install the sensor and hub

Recommended for most users.

  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network Discovery disk image.

  3. Open the installation file.

  4. In the setup wizard:

    1. Choose an installation directory, then select Next.

    2. Select both Install Hub and Install IT Sensor.

    3. Accept the default configuration (Hub and IT Sensor on localhost, port 59525). You can change this later if needed.

    4. Select Next to continue.

  5. Wait for the setup to complete. Installation usually takes only a few minutes.

  6. Once the installation is complete, you will be redirected to the Lansweeper Platform. Select the site you already created.

  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network Discovery package and Download Network Discovery package silent installation configuration to download both files.

  3. In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.

    NOTE

    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.

  4. On your computer, open the downloaded Network Discovery package silent installation configuration file.

  5. In the file, replace cloudtokenvalue with your copied linking code. If the computer requires a proxy server, remove the # for proxyserver=myproxyserver.domain.local and proxyport=8080 and modify the values as needed for your installation.

    #!/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
  6. Enter the following command:

    sudo ./tmp/LansweeperPreinstallScript.sh
  7. Enter the following command, 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--proxyservermyproxyserver.domain.local and --proxyport 8080.

    Installer version

    The version numbers for your installer can be found in the downloaded .pkg file.

    sudo Lansweeper-network-discovery-X.X.X-X-osx-installer.app/Contents/MacOS/installbuilder.sh --mode unattended --accepteula 1 --path /Library/Application Support/Lansweeper Network Discovery/ --cloudtoken cloudtokenvalue
  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network disk image to download the installer.

  3. In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.

    NOTE

    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.

  4. In an elevated command prompt, enter the following command to mount the DMG file:

     Lansweeper-network-discovery-X.X.X-X-osx-installer.dmg
  5. To navigate the volume, enter:

    cd "/Volumes/Lansweeper Network Discovery"
  6. Enter the following command, 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.

    Installer version

    The version numbers for your installer can be found in the downloaded .dmg file.

    sudo Lansweeper-network-discovery-X.X.X-X-osx-installer.app/Contents/MacOS/installbuilder.sh --mode unattended --accepteula 1 --path /Library/Application Support/Lansweeper Network Discovery/ --cloudtoken cloudtokenvalue

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 specifically what to scan and when.