Werk #7073: New API call to control bulk discovery

Component User interface
Title New API call to control bulk discovery
Date Jan 17, 2019
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks