Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 7073
bloba8412a383d23477f8d57c32b76d9d225f0b005ff
1 Title: New API call to control bulk discovery
2 Level: 1
3 Component: multisite
4 Compatible: compat
5 Edition: cre
6 Version: 1.6.0i1
7 Date: 1547711289
8 Class: feature
10 Two new web API calls have been added for the bulk discovery. The call
11 <tt>bulk_discovery_start</tt> has been added to start a bulk discovery for
12 a collection of hosts which will be executed asynchronously. The call
13 <tt>bulk_discovery_status</tt> can be used to get the status of such a
14 job.
16 The <tt>bulk_discovery_start</tt> call requires the <tt>hostnames</tt>
17 parameter to be a list of host names to execute the discovery for. It
18 accepts the following optional keys:
20 <ul>
21 <li>mode (default: "new")</li>
22 <li>use_cache (default: True)</li>
23 <li>do_scan (default: True)</li>
24 <li>bulk_size (default: 10)</li>
25 <li>ignore_single_check_errors (default: True)</li>
26 </ul>
28 The defaults may be customized using the global setting <i>Bulk discovery</i>.
29 The global setting also describes the possible options in detail.
31 The <tt>bulk_discovery_status</tt> call does not accept any parameter.