Werk #7073: New API call to control bulk discovery

Komponente GUI
Titel New API call to control bulk discovery
Datum 17.01.2019
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 1.6.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks