• Products
  • Get started
  • Documentation
  • Resources

Configure the Assets Discovery service

On Windows-based systems, Assets Discovery can be used as an optional scheduled service that runs periodically, scans your network, and exchanges information with Assets Discovery agents that may be running simultaneously in your network.

Configure the Assets Discovery service

  1. Navigate to your Assets Discovery directory and type discovery.exe -s in your terminal or command-line interpreter.

  2. Enter your password. If this is the first time you have used Assets Discovery you will be asked to enter and confirm a new password. This password must contain at least 8 characters including at least one uppercase, one lowercase, one numeric and one non-alphanumeric (symbol) character.

  3. Select the Service tab.

  4. Select Service Restart Interval - select the interval that will pass before the Assets Discovery service restarts. The default is 24 hours. When the interval is reached, the service will perform a self restart to release the allocated memory that can not release during the service process is running. It will not affect a running scan, the restart will only executed when there is a free time slot between the configured scan settings. When it is configured to 0 the function is disabled.

  5. If you have one or more Assets Discovery agents running on your network, use the Agent Settings to configure how they share information with the Assets Discovery service.

    1. Agent Scan Interval - the interval, in minutes, before the Assets Discovery service checks with Assets Discovery agents for new data. When the interval is reached, the service will perform a self restart to release the allocated memory that can not release during the service process is running. It will not affect a running scan, the restart will only executed when there is a free time slot between the configured scan settings. When it is configured to 0 the function is disabled.

    2. Agent IP Range - Here you can define the IP Range(s) that will be checked for available Discovery-Agents. Like the IP-Range at the Common-Setting you can define multiple Ranges.

    3. Agent TCP Port - The TCP Port of the available Agents in the configured IP Range.

    4. Agent Timeout - the default timeout for each connection to a remote agent. The default period is 3 seconds.

    5. Agent Token - Add a secure token in this field or select Generate token and then select Save token. Copy this token and navigate to the machine or node where the Agent is installed. Run the agent with -token parameter (Discovery_Agent.exe -token) and use the token you've copied earlier.

    6. Trigger Agents to Scan - select to immediately trigger all available agents at the configured range to start a local scan.

    7. Agent File-Transfer List - Select to configure files that will be synchronised with all available agents at the configured range. For example you can transfer pattern files from discovery/pattern/myCustomPattern.pat to agent/pattern/myCustomPattern.pat. This will also work if you made changes to your "source" files. You also can synchronize Agent-Configurations (Agents.cfg), by copying an Agent.cfg file to your main Discovery folder and choose it for synchronising.

    8. Install/Uninstall Service - Here you can install or uninstall the Discovery-Tool as a Windows Service out of the GUI. If you are using optional Windows Agents in your Network you must run the Discovery-Tool as Service to collect the Agent Data. This feature is only available by using the Discovery Tool on a Windows Environment.

Enable the Assets Discovery service

To enable the Assets Discovery service using the setup utility:

  1. Navigate to your Assets Discovery directory and type discovery.exe -s in your terminal or command-line interpreter.

  2. Enter your password. If this is the first time you have used Assets Discovery you will be asked to enter and confirm a new password. This password must contain at least 8 characters including at least one uppercase, one lowercase, one numeric and one non-alphanumeric (symbol) character.

  3. Select the Service tab.

  4. Select Install Service.

You can also enable the Assets Discovery service using the command-line:

  1. As an administrator on your Windows or Linux system, open a command-line interpreter window.

  2. Navigate to your Assets Discovery directory and type discovery.exe -i in your terminal or command-line interpreter.

Disable the Assets Discovery service

To disable the Assets Discovery service using the setup utility:

  1. Navigate to your Assets Discovery directory and type discovery.exe -s in your terminal or command-line interpreter.

  2. Enter your password. If this is the first time you have used Assets Discovery you will be asked to enter and confirm a new password. This password must contain at least 8 characters including at least one uppercase, one lowercase, one numeric and one non-alphanumeric (symbol) character.

  3. Select the Service tab.

  4. Select Uninstall Service.

You can also disable the Assets Discovery collector as a service using the command-line:

  1. As an administrator on your Windows or Linux system, open a command-line interpreter window.

  2. Navigate to your Assets Discovery directory and type discovery.exe -u in your terminal or command-line interpreter.

Additional Help