Werk #7073 · Jan 17, 19
New API call to control bulk discovery
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.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 1.6.0b1CommunityProUltimate + MT