--- cmk_add_host: false # Should be true/false whether we should automatically add host for monitoring. cmk_omd_protocol: http # Should be http or https cmk_omd_host: your-checkmk-hostname cmk_omd_site: your-checkmk-site # e.g the first piece after the / following your hostname # If you have created a folder in WATO already you want hosts to be put in when registered # uncomment cmk_folder below and specify the folder to use. Otherwise the role creates and # adds new hosts by default to Unsorted folder # p.s: Folders created in the CMK UI are all lower case even if you enter them in capitals :( # cmk_folder: your_folder_in_WATO cmk_download_mode: samba cmk_smb_password: ~ cmk_smb_username: ~ # If using direct download (http) from CMK set below # # Copy paste the link address for rpm agent from CheckMK # cmk_rpm_agent_x86_64: http://url-from-your-agent-bakery-in-checkmk.rpm # # Copy paste the link address for MSI (Windows) agent from CheckMK # cmk_msi_agent_x86_64: http://url-from-your-agent-bakery-in-checkmk.msi # # Copy paste from cmk server # cmk_deb_agent_x86_64: http://url-from-your-agent-bakery-in-checkmk.deb # # Copy paste from cmk server # cmk_rpm_agent_aarch64: http://url-from-your-agent-bakery-in-checkmk.rpm # # Copy paste from cmk server # cmk_deb_agent_aarch64: http://url-from-your-agent-bakery-in-checkmk.deb # Want to use Samba to download the pre-prepared agents cmk_download_path: \\fileserver\Software\checkmk-agents\{{ cmk_os_family }}\{{ansible_architecture}}\ cmk_rpm_agent: check-mk-agent-2.0.0p11.noarch.rpm cmk_deb_agent: check-mk-agent-2.0.0p11_all.deb cmk_msi_agent: check-mk-agent-2.0.0p11.msi # Check_MK GPG Key # Copy paste the link address from Signature Keys for Signing Agents page cmk_gpg_key_id: 1 cmk_gpg_key_url: "{{ cmk_omd_protocol }}://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/wato.py?key={{ cmk_gpg_key_id }}&mode=download_signature_key" # Should be username of an automation user in checkmk cmk_username: some-username # This should be populated with the secret for your automation user # I recommend encrypting this with ansible-vault. # Example: ansible-vault encrypt_string somesecret_string --name cmk_secret cmk_secret: some-secret # Combined string required for unattended actions cmk_auth: "&_username={{ cmk_username }}&_secret={{ cmk_secret }}" # This variable is used to detect whether this is a fresh install # Is changed to true if check-mk-agent gets installed cmk_fresh_install: false # This variable if set to true will force installation to run regardless of whether # CheckMK is already installed. # Breaks idempotence but allows role to be used to force upgrade agents. cmk_force_install: false cmk_host_ip: "{{ ansible_host }}" cmk_dl_needs_auth: true cmk_debug: True