buluma.munin
Ansible Role: Munin
Munin is a monitoring server that works with RedHat/CentOS and Debian/Ubuntu.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
Here is a simple example from molecule/default/converge.yml
that is tested with every change.
---
- name: Converge
hosts: all
become: true
roles:
- role: buluma.munin
To prepare the machine, we use molecule/default/prepare.yml
:
---
- name: Converge
hosts: all
become: true
gather_facts: no
roles:
- role: buluma.bootstrap
# - role: buluma.repo_epel
You can see a detailed guide on how to use these roles.
Role Variables
Default values for variables are found 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
# This will create:
# [host]
# address: [name]
# [extra.0]
# [extra.1]
# [...]
#
# Note: `name` can be hostname or group + hostname, e.g.:
# [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
- Python packages listed in requirements.txt.
State of Used Roles
The following roles are used to prepare the system. You can use other methods if you prefer.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap | ||
buluma.repo_epel | ||
buluma.munin |
Context
This role is part of many other compatible roles. You can find more information in the documentation for these roles.
Here is a summary of related roles:
Compatibility
This role has been tested with these container images:
Container | Tags |
---|---|
Debian | all |
Ubuntu | all |
The minimum Ansible version required is 2.12. Testing has been performed on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
Changelog
Check the Role History for updates.
License
This role is licensed under Apache-2.0.
Author Information
Created by Shadow Walker.
Munin monitoring server for RedHat/CentOS or Debian/Ubuntu.
ansible-galaxy install buluma.munin