Ansible playbook to setup munin on Ubuntu
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

My playbook for Munin

Munin master

ansible-playbook munin-master.yml -K

Munin node

ansible-playbook munin-node.yml -K

Edit munin home's .ssh/config on munin master

Host munin-node
   HostName 123.456.789.000
   IdentityFile ~/.ssh/munin_node

Connection test

sudo -u munin ssh munin-node nc localhost 4949 # and input "fetch cpu"

Add munin-node to /etc/munin/munin.conf

   address ssh://munin-node:1234/bin/nc localhost 4949 # Native SSH Transport
   use_node_name yes

Run munin-cron to update graph

# check /var/log/munin/munin-update.log if graph hasn't updated.
sudo -u munin munin-cron