buluma.checkmk_agent

checkmk_agent

安装 checkmk 代理和一些插件

GitHub GitLab 质量 下载 版本 问题 请求合并
github gitlab quality downloads Version Issues PullRequests

示例剧本

此示例来自 molecule/default/converge.yml,并在每次推送、请求合并和发布时进行了测试。

---
- name: converge
  hosts: all
  become: yes
  gather_facts: yes

  pre_tasks:
    - name: 更新 apt 缓存。
      apt: update_cache=yes cache_valid_time=600
      when: ansible_os_family == 'Debian'
      changed_when: false

  roles:
    - role: buluma.checkmk_agent

机器需要做好准备。在持续集成中,可以使用 molecule/default/prepare.yml 来完成:

---
- name: 准备
  hosts: all
  gather_facts: no
  become: yes

  roles:
    - role: buluma.bootstrap
    - role: buluma.python_pip

角色变量

变量的默认值在 defaults/main.yml 中设定:

---
# checkmk_agent 的默认文件
checkmk_server: localhost
checkmk_site_name: cmk
checkmk_purge_xinetd: true
checkmk_pub_key: ''

要求

使用的角色状态

以下角色用于准备系统。你可以用其他方式准备你的系统。

需求 GitHub GitLab
buluma.bootstrap Build Status GitHub Build Status GitLab
buluma.python_pip Build Status GitHub Build Status GitLab

上下文

此角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档

以下是相关角色的概述:

dependencies

兼容性

此角色已在以下 容器镜像 上进行了测试:

容器 标签
ubuntu 全部
debian 全部
el 全部

所需的最低 Ansible 版本为 2.1,测试已完成:

  • 之前的版本。
  • 当前版本。
  • 开发版本。

如果您发现问题,请在 GitHub 上报告。

更新日志

角色历史

许可证

Apache-2.0

作者信息

Michael Buluma

关于项目

Install the checkmk agent and a selection of plugins

安装
ansible-galaxy install buluma.checkmk_agent
许可证
apache-2.0
下载
7k
拥有者
DevOps Engineer