Skip to content

Ansible role to install an CheckMK agent and some local checks

License

Notifications You must be signed in to change notification settings

rolehippie/cmkagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmkagent

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install an CheckMK agent and some local checks.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

cmkagent_download_binaries

List of binaries to download

Default value

cmkagent_download_binaries:
  - check_mk_agent.linux
  - check_mk_caching_agent.linux
  - mk-job
  - waitmax

cmkagent_download_url

Base URL to download the files from

Default value

cmkagent_download_url: https://raw.githubusercontent.com/Checkmk/checkmk/v{{ cmkagent_version
  }}/agents

Example usage

cmkagent_download_url: https://demo.checkmk.com/demo/check_mk/check_mk/agents

cmkagent_extra_checks

List of extra local checks to enable

Default value

cmkagent_extra_checks: []

cmkagent_extra_packages

List of additional packages to install

Default value

cmkagent_extra_packages: []

cmkagent_extra_plugins

List of extra plugins to enable

Default value

cmkagent_extra_plugins: []

cmkagent_general_checks

List of local checks to enable

Default value

cmkagent_general_checks:
  - name: zombie_processes
    cache_time: 300
    src: checks/zombie_processes.j2
    warn: 5
    crti: 10
    state: present

cmkagent_general_packages

List of packages to install

Default value

cmkagent_general_packages: []

cmkagent_general_plugins

List of plugins to enable

Default value

cmkagent_general_plugins:
  - name: mk_inventory
    url: https://raw.githubusercontent.com/tribe29/checkmk/v{{ cmkagent_version }}/agents/plugins/mk_inventory.linux

cmkagent_python_shebang

Package to install shebang compatible python

Default value

cmkagent_python_shebang: python-is-python3

cmkagent_python_symlink

Symlink target for shebang compatible python

Default value

cmkagent_python_symlink: /usr/bin/python3

cmkagent_version

Version used to download agent and plugins

Default value

cmkagent_version: 2.3.0

Discovered Tags

cmkagent

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger