munin

Ansible role munin

Munin monitoring server for RedHat/CentOS or Debian/Ubuntu.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: true

  roles:
    - role: buluma.munin

The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml:

---
- name: Converge
  hosts: all
  become: true
  gather_facts: no

  roles:
    - role: buluma.bootstrap
    # - role: buluma.repo_epel

Also see a full explanation and example on how to use these roles.

Role Variables

The default values for the variables are set in defaults/main.yml:

---
munin_conf_d_directory: /etc/munin/conf.d

munin_dbdir: /var/lib/munin
munin_htmldir: /var/www/html/munin
munin_logdir: /var/log/munin
munin_rundir: /var/run/munin

munin_includedir: /etc/munin/conf.d

munin_html_strategy: cron
munin_graph_strategy: cron
munin_cron_job: present

munin_max_processes: 12

munin_admin_user: munin
munin_admin_password: munin

# Will be translated into:
# [host]
#   address: [name]
#   [extra.0]
#   [extra.1]
#   [...]
#
# Note that `name` can be hostname, or group + hostname, for example:
# [example.com;foo.example.com]
munin_hosts:
  - name: "localhost"
    address: "127.0.0.1"
    extra: ["use_node_name yes"]

munin_alerts: []
#  - name: "JohnDoe"
#    email: "[email protected]"
#    subject: "Munin-notification for ${var:group} :: ${var:host}"
#    level: "warning critical"

Requirements

State of used roles

The following roles are used to prepare a system. You can prepare your system in another way.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version
buluma.repo_epel Ansible Molecule Version
buluma.munin Ansible Molecule Version

Context

This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.

Here is an overview of related roles:

dependencies

Compatibility

This role has been tested on these container images:

container tags
Debian all
Ubuntu all

The minimum version of Ansible required is 2.12, tests have been done to:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please register them in GitHub

Changelog

Role History

License

Apache-2.0

Author Information

Shadow Walker

About

Munin monitoring server for RedHat/CentOS or Debian/Ubuntu.

Install
ansible-galaxy install buluma/ansible-role-munin
GitHub repository
License
apache-2.0
Downloads
2150
Owner
DevOps Engineer