Verify first that your issue is not already reported here.
Where possible also test if the latest release and main branch are affected too. Complete all sections as described!
Describe the bug
- name: Create DCD connection
checkmk.general.dcd:
dcd_config:
dcd_id: homelab-kube
title: kube.home.elrod.me
connector:
connector_type: piggyback
creation_rules:
- folder_path: /homelab
delete_hosts: false
restrict_source_hosts:
- kube.home.elrod.me
leads to:
[ERROR]: Task failed: Module failed: 400 - Bad request: Parameter or validation failure Details: b'{"title": "Bad Request", "status": 400, "detail": "These fields have problems: connector", "fields": {"connector": {"creation_rules": {"0": {"host_attributes": ["Field may not be null."]}}}}}'
But if I add host_attributes: {} to the creation rule, it works.
Component Name
Write the short name of the module or plugin below, use your best guess if unsure. Keeping the below syntax helps us match the issues to labels.
Component Name: dcd
Describe the bug
leads to:
But if I add
host_attributes: {}to the creation rule, it works.Component Name
Component Name:
dcd