You've already forked role-check-mk-agent
44 lines
1.8 KiB
YAML
44 lines
1.8 KiB
YAML
---
|
|
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
|
|
# cmk_folder: your_folder_in_WATO
|
|
|
|
# Copy paste the link address for rpm agent from CheckMK
|
|
cmk_rpm_agent: http://url-from-your-agent-bakery-in-checkmk.rpm
|
|
# Copy paste the link address for MSI (Windows) agent from CheckMK
|
|
cmk_msi_agent: http://url-from-your-agent-bakery-in-checkmk.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_guest_ip: "{{ ansible_host }}"
|