Skip to content

Munin plugin for monitoring Docker containers and Docker Compose apps

License

Notifications You must be signed in to change notification settings

morbz-archive/munin-plugin-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Configuration

  1. Install the munin-node on the Docker server. For more information check the following URL: munin guide.
  2. Copy the docker_ file to the munin plugin folder: /usr/share/munin/plugins.
  3. Set plugin permissions: chmod +x docker_
  4. Create symbolic links.
cd /etc/munin/plugins/

ln -s /usr/share/munin/plugins/docker_ docker_cpu
ln -s /usr/share/munin/plugins/docker_ docker_memory
ln -s /usr/share/munin/plugins/docker_ docker_memory_nocache
ln -s /usr/share/munin/plugins/docker_ docker_blockio
ln -s /usr/share/munin/plugins/docker_ docker_netio

ln -s /usr/share/munin/plugins/docker_ docker_compose_cpu
ln -s /usr/share/munin/plugins/docker_ docker_compose_memory
ln -s /usr/share/munin/plugins/docker_ docker_compose_memory_nocache
ln -s /usr/share/munin/plugins/docker_ docker_compose_blockio
ln -s /usr/share/munin/plugins/docker_ docker_compose_netio

ln -s /usr/share/munin/plugins/docker_ docker_volumes
  1. Give root privilege to the docker plugin. Root privilege is required for munin to execute the Docker command.
  2. Create a new file named "docker" inside the folder /etc/munin/plugin-conf.d/
  3. Insert the following content in the new docker file:
[docker_*]
user root
  1. Restart the munin-node service.

About

Munin plugin for monitoring Docker containers and Docker Compose apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%