We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #7073: New API call to control bulk discovery

TitleNew API call to control bulk discovery
Date2019-01-17 08:48:09
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

Two new web API calls have been added for the bulk discovery. The call bulk_discovery_start has been added to start a bulk discovery for a collection of hosts which will be executed asynchronously. The call bulk_discovery_status can be used to get the status of such a job.

The bulk_discovery_start call requires the hostnames parameter to be a list of host names to execute the discovery for. It accepts the following optional keys:

  • mode (default: "new")
  • use_cache (default: True)
  • do_scan (default: True)
  • bulk_size (default: 10)
  • ignore_single_check_errors (default: True)

The defaults may be customized using the global setting Bulk discovery. The global setting also describes the possible options in detail.

The bulk_discovery_status call does not accept any parameter.