Ansible role to install an CheckMK agent and some local checks.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Minimum Ansible version:
2.10
List of binaries to download
cmkagent_download_binaries:
- check_mk_agent.linux
- check_mk_caching_agent.linux
- mk-job
- waitmax
Base URL to download the files from
cmkagent_download_url: https://raw.githubusercontent.com/Checkmk/checkmk/v{{ cmkagent_version
}}/agents
cmkagent_download_url: https://demo.checkmk.com/demo/check_mk/check_mk/agents
List of extra local checks to enable
cmkagent_extra_checks: []
List of additional packages to install
cmkagent_extra_packages: []
List of extra plugins to enable
cmkagent_extra_plugins: []
List of local checks to enable
cmkagent_general_checks:
- name: zombie_processes
cache_time: 300
src: checks/zombie_processes.j2
warn: 5
crti: 10
state: present
List of packages to install
cmkagent_general_packages: []
List of plugins to enable
cmkagent_general_plugins:
- name: mk_inventory
url: https://raw.githubusercontent.com/tribe29/checkmk/v{{ cmkagent_version }}/agents/plugins/mk_inventory.linux
Package to install shebang compatible python
cmkagent_python_shebang: python-is-python3
Symlink target for shebang compatible python
cmkagent_python_symlink: /usr/bin/python3
Version used to download agent and plugins
cmkagent_version: 2.3.0
cmkagent
- None
Apache-2.0