Using Discovery on a Linux system

Since release 2.2.0 it is possible to use the Discovery Tool on a Linux Desktop Environment.

At the Discovery System Requirements page you can find all the Linux Environments that we have tested.

Of course it will be possible to use the Discovery Tool on a lot more Linux Distributions that we haven't tested.

Give us your feedback on which Linux Distribution you are using Assets Discovery.

What is needed?

To use the Discovery Tool (or the Collector) you need to install the latest Mono packages on your Linux System.

Follow the instructions at the Mono Website and check your version with "mono --version" it needs to be higher or equal than 5.2.0

How to use?

After you have installed the required Mono packages you can extract the Discovery_x.x.x.x.zip package on your system (e.g. /opt/)

You can now use the included executables (Discovery.exe, Collector.exe, ScanViewer.exe) by using the pre-command mono

e.g. "mono Discovery.exe -s" to start the DiscoverySetup

For using the included Tools you can follow the Documentation Pages

How to run scheduled scans?

As you can't install the Discovery and Collector as a Service (Windows-Service) on a Linux System

you need to add Cron Tasks that are executing the functions to check the configured settings.

Setup your cron task with sudo permissions ("sudo crontab -e")

Here are some cron examples that you can use:

Check every minute the configured scan settings an execute it if the time is reached:

* * * * * mono /opt/Discovery/Discovery.exe -stsc

Check every ten minutes if data from agents collectable out of the configured agents ip range:

*/10 * * * * mono /opt/Discovery/Discovery.exe -stad

Check every minutes if data is available to transport for the collector:

* * * * * mono /opt/Discovery/Collector.exe

Why isn't it possible to connect to a Windows System?

As Mono.Net doesn't support WMI it is actually not possible to connect

to a Windows System with the Discovery Tool that is running on a Linux System.

Last modified on Oct 27, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.