Skip to content

proxy-mto79/ansible-collection-tribe29.checkmk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tribe29 Checkmk Collection

Checkmk already provides the needed APIs to automate and configure your monitoring. With this project we want to create and share modules and roles for Ansible to both simplify your first steps with automating Checkmk and keep your daily operations smooth and efficient.


Here be dragons!

Everything within this repository is subject to possibly heavy change and we cannot guarantee stability at this point. You have been warned!

Ansible Sanity Tests Ansible Integration Tests


This repository is a successor to ansible-checkmk in a way, that we take the idea of the initial repository and translate it into todays format. We will try to keep you posted as best as we can. Also, keep an eye on this Checkmk forum post for updates.

Getting help

For documentation on the included modules, run the following command substituting the $MODULE_NAME:

ansible-doc tribe29.checkmk.$MODULE_NAME

For any form of support queries or requests refer to SUPPORT.md.

Repository Structure

For information about the structure and organization of this repository have a look at STRUCTURE.md.

Included content

Modules

Name Description
tribe29.checkmk.activation Activate changes.
tribe29.checkmk.discovery Discover services on hosts.
tribe29.checkmk.downtime Schedule downtimes on hosts and services.
tribe29.checkmk.folder Manage folders.
tribe29.checkmk.host Manage hosts.

Roles

Name Description
tribe29.checkmk.agent Installs Checkmk agents.
tribe29.checkmk.server Installs Checkmk servers.

Installing this collection

Locally

You can install the Checkmk collection locally, if you acquired a tarball from the releases page as follows:

ansible-galaxy collection install /path/to/tribe29-checkmk-X.Y.Z.tar.gz

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - source: /path/to/tribe29-checkmk-X.Y.Z.tar.gz
    type: file

From the Galaxy

You can install the Checkmk collection with the Ansible Galaxy CLI:

ansible-galaxy collection install tribe29.checkmk

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: tribe29.checkmk
    version: X.Y.Z

Using this collection

You can either call modules by their Fully Qualified Collection Namespace (FQCN), such as tribe29.checkmk.activation, or you can call modules by their short name if you list the tribe29.checkmk collection in the playbook's collections keyword:

---
- hosts: all

  collections:
    - tribe29.checkmk

  tasks:
    - name: "Run activation."
      activation:
        server_url: "http://localhost/"
        site: "my_site"
        automation_user: "automation"
        automation_secret: "$SECRET"
        force_foreign_changes: 'true'
        sites:
          - "my_site"

More information about Checkmk

Contributing to this collection

We welcome and appreciate community contributions to this collection. If you find problems, please open an issue or create a pull request against this repository. See Contributing to Ansible-maintained collections for more details on how to contribute.

You can also join our Checkmk Community and have a look at the dedicated post regarding Ansible and the 'ansible' tag in general.

Release notes

See CHANGELOG.rst.

Roadmap

This is merely a collection of possible additions to the role. Please do not consider a concrete planning document!

  • Modules
    • Monitoring
      • Acknowledgement
    • Setup
      • Agents
      • BI
      • Contact Groups
      • Host Groups
      • Host Tag Groups
      • Passwords
      • Service Groups
      • Time Periods
      • Users
  • Lookup Plugins
    • Version

More information about Ansible

Licensing

See LICENSE.

About

The official Checkmk Ansible collection - brought to you by tribe29 - the Checkmk company.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • YAML 71.6%
  • Python 28.4%