docker_stats

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2017 License: MIT Imports: 11 Imported by: 0

README

Install

chmod +x ./docker_stats
sudo mv ./docker_stats /usr/share/munin/plugins/
sudo ln -s /usr/share/munin/plugins/docker_stats /etc/munin/plugins/docker_stats

Adjust user permission

cat <<EOF > /etc/munin/plugin-conf.d/docker_stats
[docker_stats]
user root
EOF
sudo /etc/init.d/munin-node restart

Remove Container from graph

If you want to remove old container from munin graph.

# usually /var/lib/munin/plugin-state/<username>/containerlist
rm ${MUNIN_PLUGSTATE}/containerlist

Test

sudo -u munin munin-run docker_stats config
sudo -u munin munin-run docker_stats
$ nc localhost 4949
# munin node at yourhostname
config docker_stats
...
...
fetch docker_stats
...
...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL