All Projects → geerlingguy → Ansible Role Munin

geerlingguy / Ansible Role Munin

Licence: mit
Ansible Role - Munin

Projects that are alternatives of or similar to Ansible Role Munin

Ansible Role Certbot
Ansible Role - Certbot (for Let's Encrypt)
Stars: ✭ 477 (+1666.67%)
Mutual labels:  ansible, role
Librehardwaremonitor
Libre Hardware Monitor, home of the fork of Open Hardware Monitor
Stars: ✭ 685 (+2437.04%)
Mutual labels:  monitoring, system
Heim
Cross-platform async library for system information fetching 🦀
Stars: ✭ 572 (+2018.52%)
Mutual labels:  monitoring, system
Ansible Role Php
Ansible Role - PHP
Stars: ✭ 396 (+1366.67%)
Mutual labels:  ansible, role
Ansible Role Htpasswd
Ansible Role - htpasswd
Stars: ✭ 17 (-37.04%)
Mutual labels:  ansible, role
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+1374.07%)
Mutual labels:  ansible, role
Ansible Role Jenkins
Ansible Role - Jenkins CI
Stars: ✭ 689 (+2451.85%)
Mutual labels:  ansible, role
Ansible Grafana
Platform for analytics and monitoring
Stars: ✭ 340 (+1159.26%)
Mutual labels:  ansible, monitoring
Ansible Role Mysql
Ansible Role - MySQL
Stars: ✭ 826 (+2959.26%)
Mutual labels:  ansible, role
Ansible Prometheus
Deploy Prometheus monitoring system
Stars: ✭ 758 (+2707.41%)
Mutual labels:  ansible, monitoring
Glances
Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
Stars: ✭ 19,648 (+72670.37%)
Mutual labels:  monitoring, system
Ansible Role Docker
Ansible Role - Docker
Stars: ✭ 845 (+3029.63%)
Mutual labels:  ansible, role
Interviewguide
计算机校招、社招面试八股文整理,也是《逆袭进大厂》唯一仓库,目前已收录 C/C++ 、操作系统、数据结构、计算机网络、MySQL、Redis等面试资料,未来打算继续收录Java、Python、Go等面试常见问题,坚持将此仓库维护下去。
Stars: ✭ 288 (+966.67%)
Mutual labels:  os, system
Ansible Role Gitlab
Ansible Role - GitLab
Stars: ✭ 459 (+1600%)
Mutual labels:  ansible, role
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (+1170.37%)
Mutual labels:  ansible, role
Ansible Role Nginx
Ansible Role - Nginx
Stars: ✭ 632 (+2240.74%)
Mutual labels:  ansible, role
Ansible Role Nodejs
Ansible Role - Node.js
Stars: ✭ 322 (+1092.59%)
Mutual labels:  ansible, role
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+1162.96%)
Mutual labels:  ansible, role
Ansible Ssh Hardening
This Ansible role provides numerous security-related ssh configurations, providing all-round base protection.
Stars: ✭ 746 (+2662.96%)
Mutual labels:  ansible, role
Ansible Transmission
🕹 A TransmissionBT installation role for Ansible
Stars: ✭ 8 (-70.37%)
Mutual labels:  ansible, role

Ansible Role: Munin

CI

Installs munin, a monitoring system, on RedHat/CentOS or Debian/Ubuntu Linux servers.

Requirements

If you are running a RedHat-based distribution, you need to install the EPEL repository, which can be simply installed via the geerlingguy.repo-epel role.

If you would like to view munin's graphs and output via HTTP, you will need an HTTP server like Apache or Nginx running.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

munin_packages:
  - python-passlib
  - munin

Packages installed for Munin. If you are running Python 3, you should override this variable and set the first item to python3-passlib.

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

Some default locations for Munin-generated files, configurations, logs, etc.

munin_html_strategy: cron
munin_graph_strategy: cron
munin_max_processes: 12

See the official Munin documentation for munin.conf for more information on these and other optional directives.

munin_cron_job: present

Determines whether the munin cron job (which runs every 5 minutes) should be active. By setting this to absent, you can leave munin installed and configured on your server but effectively disable it. This allows quick enabling or disabling for munin monitoring.

munin_admin_user: munin
munin_admin_password: munin

These values will be used to generate a user via htpasswd under which the munin pages will be password protected with basic HTTP authentication. (Note: This method only works when Munin is running under default Apache configurations; if you use Nginx or a customized Apache server, you will need to configure authentication on your own).

munin_hosts:
  - name: "localhost"
    address: "127.0.0.1"
    extra: ["use_node_name yes"]

A listing of hosts to which munin will connect and monitor. Each item in the list will be added to your munin configuration like the following (assuming you're using the above example):

[localhost]
  address: 127.0.0.1
  use_node_name yes

See documentation for Munin Node Definitions for more details as to what values to use here.

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

You can configure email alerts using the munin_alerts variable.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - geerlingguy.munin

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].