munin-fcgi

ansible-role-munin-fcgi

Enable munin "dynazoom" graphs using spawn-fcgi and a systemd service.

Requirements

Only tested on Ubuntu 16.04 xenial, a few paths in munin-fcg.service are specific to Debian-based distributions but any OS running a munin server and systemd should be fine.

Role Variables

None.

Dependencies

None.

Example Playbook

Play:

- hosts: munin-master
  become: true
  roles:
    - {role: "geerlingguy.munin"}
    - {role: "geerlingguy.nginx"}
    - {role: "DigitalBackstage.munin-fcgi"}

Nginx configuration:

location ^~ /munin-cgi/munin-cgi-graph/ {
    fastcgi_split_path_info ^(/munin-cgi/munin-cgi-graph)(.*)$;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_pass unix:/var/run/munin/fcgi-graph.sock;
    include fastcgi_params;
}

License

MIT

Author Information

Written by Léo Peltier for UniversCiné/Le Meilleur du Cinéma.

About

Setup munin dynazoom graphs with spawn-fcgi.

Install
ansible-galaxy install DigitalBackstage/ansible-role-munin-fcgi
GitHub repository
License
mit
Downloads
29