mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
chore: add example graphs & update docs
This commit is contained in:
parent
cd2194e8b9
commit
5a0b586be5
4 changed files with 16 additions and 3 deletions
|
@ -7,9 +7,9 @@ set -e
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
cpu_by_group - Monitors cpu usage for all processes on a system and groups them into graphs by either cgroup, system processes or kernel threads
|
cpu_by_group - Monitors cpu time for all processes on a system and groups them into graphs by either cgroup, system processes or kernel threads
|
||||||
|
|
||||||
=head1 CONFIGURATION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
Works similar as good ol' cpu_by_process, but groups processes by either their cgroup, system proceses or kernel threads to produce smaller graphs.
|
Works similar as good ol' cpu_by_process, but groups processes by either their cgroup, system proceses or kernel threads to produce smaller graphs.
|
||||||
|
|
||||||
|
@ -18,12 +18,25 @@ For user cgroups the user id will be resolved to the corresponding user name.
|
||||||
|
|
||||||
The plugin keeps track of previously running processes in MUNIN_STATEFILE
|
The plugin keeps track of previously running processes in MUNIN_STATEFILE
|
||||||
|
|
||||||
|
=head2 EXAMPLE GRAPHS
|
||||||
|
|
||||||
|
There are 3 example graphs which were all automatically generated by this plugin.
|
||||||
|
|
||||||
|
- System-day -> system processes (processes without a cgroup)
|
||||||
|
- KThread-day -> kernel threads
|
||||||
|
- caddy-day -> A docker compose project named caddy, with a single container named caddy and a single caddy process
|
||||||
|
|
||||||
|
=head1 CONFIGURATION
|
||||||
|
|
||||||
For full docker support, ensure that munin can access docker. F.e. run munin with the docker group:
|
For full docker support, ensure that munin can access docker. F.e. run munin with the docker group:
|
||||||
|
|
||||||
[cpu_by_group]
|
[cpu_by_group]
|
||||||
group docker
|
group docker
|
||||||
|
|
||||||
Requires bash v4.3+
|
=head1 REQUIREMENTS
|
||||||
|
|
||||||
|
- bash v4.3+
|
||||||
|
- docker access rights (if using docker)
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
|
BIN
plugins/cpu/example-graphs/cpu_by_group_KThread-day.png
Normal file
BIN
plugins/cpu/example-graphs/cpu_by_group_KThread-day.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
plugins/cpu/example-graphs/cpu_by_group_System-day.png
Normal file
BIN
plugins/cpu/example-graphs/cpu_by_group_System-day.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
plugins/cpu/example-graphs/cpu_by_group_caddy-day.png
Normal file
BIN
plugins/cpu/example-graphs/cpu_by_group_caddy-day.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Add table
Add a link
Reference in a new issue