GithubHelp home page GithubHelp logo

scanterog / munin-plugin-docker Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 8.0 20 KB

Munin plugin for monitoring docker container memory and CPU usage

License: GNU General Public License v3.0

Perl 100.00%

munin-plugin-docker's People

Contributors

scanterog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

munin-plugin-docker's Issues

docker_cpu doesn't work anymore

After some munin update i'm not able to run the docker_cpu plugin anymore. Maybe it could be happened a year ago or more, i didn't check the munin page in long time

I get this in the logs

Error output from docker_cpu:
syntax error at /etc/munin/plugins/docker_cpu line 103, near "print"
Execution of /etc/munin/plugins/docker_cpu aborted due to compilation errors.

Unfortunately, I have no knowledge of Perl to understand what's going on

The Y scale in the cpu plugin is too high

hi, running this plugin on a server with 16 cores, i see avg usage of each container around 3%, but because the scale of the Y is set to 24000%, it's invisible. There's any way i can lower the scale?

Thanks

docker_memory fails on Raspberry Pi - fixed by configuration

Raspberry Pi (Raspbian)

Using a Raspberry Pi with Raspbian it could happen no memory is reported and thus docker_memory fails with an error in line 308 when trying to access values. In such case the Docker API does not report it. Making the following changes, fixes the problem:

Open the file /boot/cmdline.txt
Add the following to the end of the existing line cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
Reboot your Raspberry Pi
NOTE: Add the line to the existing line, do not replace it

docker_memory gives no values

docker_cpu works, docker_memory gives no data at all (config works, but even that doesn not contain any containers listed). no error either.

environment is debian 8.10
feel free to ask if there is any help i can provide finding the error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.