Files
role-check-mk-agent/defaults/main.yml

31 lines
1.4 KiB
YAML
Raw Normal View History

2020-10-13 16:33:32 +13:00
---
cmk_add_host: false # Should be true/false whether we should automatically add host for monitoring.
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
cmk_rpm_agent: http://url-from-your-agent-bakery-in-checkmk.rpm
cmk_msi_agent: http://url-from-your-agent-bakery-in-checkmk.msi
# 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