Werk #13399: RESTAPI: Endpoint for downloading agent by host name

Komponente REST API
Titel RESTAPI: Endpoint for downloading agent by host name
Datum 28.10.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p18 2.1.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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.

Zur Liste aller Werks