scanterog / munin-plugin-docker Goto Github PK
View Code? Open in Web Editor NEWMunin plugin for monitoring docker container memory and CPU usage
License: GNU General Public License v3.0
Munin plugin for monitoring docker container memory and CPU usage
License: GNU General Public License v3.0
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
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
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_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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.