1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Lars Kruse
c6f88968d1 Improve perlpod formatting for multiple plugins
Escpecially the final marker ("=cut") was missing in these plugins.
2020-10-06 00:29:38 +02:00
Olivier Mehani
109144ded5 [docker_] Get CPU count from os.cpu_count() everywhere
Docker-py and os.cpu_count() disagree on the count, leading to data
going beyond the scale of the graph. As Docker-py seems to have dummy
CPU data in the stats, we instead always rely on Python's CPU count.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-18 12:11:43 +10:00
Olivier Mehani
5bb9b46e08 [docker_] Fix network extinfo
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-18 08:03:18 +10:00
Olivier Mehani
b1e3e601fe [docker_] Fix missing f-string
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-17 23:17:43 +10:00
Olivier Mehani
254eb56dde [docker_] Fake functools.cached_property for Python<3.8
Fixes: #1116
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-09 21:43:22 +02:00
Olivier Mehani
13d5b23442
[plugin/docker_] Improvements to docker_ plugin (#1094)
* Add support for docker_network
* Actually show non running containers counts
* Show intermediate and dangling images counts
* Add warnings on dangling images and dead containers
* Fully support autoconf and suggest
* Add graph_total to the status (thereby making the containers graph
  redundant), CPU and Memory graphs
* Show most graphs as AREASTACK, this allows to get a clearer view of
  both individual and total use
* Use LINESTACK1 to work around munin-contrib/munin#1343
* Include all containers in CPU/Memory/Network config, so data from
  non-running containers is still displayed
* Sprinkle some info and extinfo
* Add ClientWrapper around docker module, providing caching and sorting
* Reverse-engineer author list from git log
2020-08-25 16:17:18 +02:00
Andreas Perhab
260c8c8ff4 docker_cpu: fix warnings when docker ps has empty list 2020-08-18 04:15:35 +02:00
Andreas Perhab
0853d409f3 docker_cpu: fix data for container names starting with numbers 2020-08-18 04:15:35 +02:00
Rowan Wookey
9e2b918229 Added env to exclude containers from cpu/memory docker graphs
It maybe desirable to not generate stats for ephemeral containers.
This commit adds an env variable EXCLUDE_CONTAINER_NAME which is a regex, if it matches
then the container is excluded from the cpu and memory graphs.
2020-08-14 22:24:56 +02:00
Rowan Wookey
fcd2af7b07 Improved docker_ performance when getting CPU/Memory stats
Added parallel processing using python's muliprocessing module
to fork a new process each for each docker container when gathering
stats.

This vastly improves performance since using a for loop the script
blocks until the stats are returned.
2020-04-18 15:43:07 +02:00
Doctor
937cb1d030 Rewrite Docker plugin
Fix:
- CPU
- Memory

Add:
- Containers number
- Containers status
- Images number
- Volumes number
2020-02-16 20:27:53 +01:00
Lars Kruse
17f784270a Whitespace cleanup
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Lars Kruse
989f09e66c rename plugin example graphs for plugin gallery visualization
Some example graphs did not follow the naming convention required by the
plugin gallery.
2018-03-24 04:03:08 +01:00
dipohl
6c3ce4e1e5 Category Tree: reduce number of categories 2017-02-22 16:22:46 +01:00
Samuel Cantero
0a5f6adf2c Docker Plugin
Ignore containers in weird state.
2016-01-04 22:42:47 -03:00
Samuel Cantero
ae03bc6fb8 Docker plugin
Fix autoconf support
2015-10-25 18:04:02 -03:00
Samuel Cantero
6de1145610 Add Docker plugins
Docker plugins for:
- Monitor container CPU usage
- Monitor memory CPU usage
2015-10-22 15:37:24 -03:00