Werk #13399 · Oct 28, 21
RESTAPI: Endpoint for downloading agent by host name
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
Agent can now be downloaded by operating system and host name:
/check_mk/api/1.0/domain-types/agent/actions/download_by_host/invoke?os_type=linux_tgz&host_name=example.com
The previous URL used to download agents via the agent hash:
/check_mk/api/1.0/objects/agent_binary/80e99ba3a66d4880?os_type=linux_tgz
is replaced by
/check_mk/api/1.0/domain-types/agent/actions/download_by_hash/invoke?os_type=linux_tgz&agent_hash=80e99ba3a66d4880
In checkmk raw edition the packaged agents can now be downloaded by the following URL:
/check_mk/api/1.0/domain-types/agent/actions/download/invoke?os_type=linux_deb
Full description can be found in the built in REST API Documentation.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 2.1.0b1CommunityProUltimate + MT
- 2.0.0p18CommunityProUltimate + MT