on 09-11-2018 08:30 PM - edited on 07-19-2024 11:16 AM by Nils
This page explains how to install LsAgent on a Linux computer, the different configuration options for LsAgent and finally where to find the scanned assets.
Lansweeper includes several agentless scanning methods to scan the assets in your network. You can scan the Linux, Unix, Mac and Windows computers, VMware servers and other devices in your network without installing any Lansweeper software on the machines you're scanning.
Optionally, you can scan your computers with a scanning agent instead. LsAgent is a cross-platform, lightweight program that you can install on Windows, Linux and Mac computers and that automatically collects an inventory from the computer it's installed on.
LsAgent sends scanned data back to your Lansweeper installation, either directly or through our relay server in the cloud. Data is securely sent to the relay server over HTTPS, stored in an encrypted format and deleted once a scanning server has retrieved it.
Thanks to the relay server connectivity, LsAgent can even scan computers outside of your network and over the internet.
Choose Next and Finish when the installation process has completed.
LsAgent has now been installed.
$ sudo systemctl status ls-agent.service
$ sudo systemctl start ls-agent.service
$ sudo systemctl stop ls-agent.service
The client machine will automatically be scanned by LsAgent, by default once per day. Data will be sent to the scanning server and, if that fails, to the relay server, where the scanning server can retrieve it. You can find the client machine in the Lansweeper web console like any other Linux client machine by performing a search for the computer's name in the search bar.
You can choose to change the machine's scanning schedule in the Scanning > LsAgent Scanning section of the Lansweeper web console.
Here you can divide machines scanned with LsAgent into groups, configure a scanning schedule for each group and enable/disable/delete LsAgent installations. Keep in mind that the minimum scan interval for LsAgent is 1 hour. If you choose a more frequent schedule, your LsAgent installations will silently default to an interval of 1 hour. LsAgent uses the same schedules as deployment packages, so the link for creating a new schedule takes you to a deployment configuration page.
If you have multiple scanning servers, you can link additional servers to your LsAgent group on the same page. If an LsAgent installation then attempts to send scanned data to a scanning server and that server cannot be reached, another server is tried. If all linked scanning servers cannot be reached and if you submitted your relay key during LsAgent installation, scanned data is sent to the relay instead.
Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.
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