Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / plugins / lxc @ 137913e3

# Date Auteur Commentaire
137913e3 2020-11-18 19:47 Sebastian L

lxc_guests: Monitor randomly generated virtual ethernet devices

b5f95726 2020-11-18 19:47 Sebastian L

lxc_guests: Make it work with unpriviliged containers

748cf3b4 2019-08-19 09:07 Marc SCHAEFER

- grep EF is invalid
SYSFS: buster has an existing /sys/fs/cgroup/systemd/lxc/$guest_name/tasks,
which does not contain anything useful, so checking
/sys/fs/cgroup/cpuacct/lxc/$guest_name/tasks first.
- spurious blank space for lxc_net and lxc_ram in here document

6e452ac6 2019-08-11 20:36 Lars Kruse

Plugin lxc: remove fieldname compatibility attempt with double underscores

The attempt of compatibility (introduced in c0fe6dc3c) did not work,
since the previous implementation replaced the first character
(if it was invalid - e.g. a digit) instead of prepending an underscore.

858f3e3a 2019-08-11 20:36 Lars Kruse

Plugin lxc: rename to "lxc_guests"

The plugin handles details of LXC guests. Thus we should leave the
remainder of the namespace to other plugins.

3ebcb8b5 2019-08-11 20:36 Lars Kruse

Plugin lxc: remove reference to framagit repository

Plugins maintained within the contrib repository of munin should not
refer to other locations as their primary source.
(otherwise they should be maintained in that primary source and not in
the contrib repository)

2f1be9f9 2019-08-11 20:36 Lars Kruse

Plugin lxc: update list of authors

f69587c2 2019-08-11 20:36 Lars Kruse

Plugin lxc: move to category "virtualization"

See http://guide.munin-monitoring.org/en/latest/reference/graph-category.html#well-known-categories

3f8ef105 2019-08-11 20:36 Lars Kruse

Plugin lxc: enable "set -eu" for better error handling

The code should be suitable for "exit-on-error" and "error-on-unset".

856572ad 2019-08-11 20:36 Lars Kruse

Plugin lxc: verify the availability of "lxc-ls"

Previously "autoconf" only verified, that /var/lib/lxc exists. But this
could be just a remainder of a formerly installed lxc package.

59cb851c 2019-08-11 20:36 Lars Kruse

Plugin lxc: add support for MUNIN_CAP_DIRTYCONFIG

f00f28cf 2019-08-11 20:36 Lars Kruse

Plugin lxc: use functions for top-level activities

This clarifies the flow of control and allows to use
MUNIN_CAP_DIRTYCONFIG later.

4356a024 2019-08-11 20:36 Lars Kruse

Plugin lxc: clarify name for function "active_guests"

Previously a variable and a function used the same name.
This was no problem, but it can cause confusion.

55b88187 2019-08-11 20:36 Lars Kruse

Plugin lxc: change the plugin from "bash" to "sh"

No more bashisms were left.

6bb47198 2019-08-11 20:36 Lars Kruse

Plugin lxc: separate function for title beautification

This avoids a bashism.

8b1d5376 2019-08-11 20:36 Lars Kruse

Plugin lxc: simplify interface of "lxc_cgroup" and rename function

33b2f3ed 2019-08-11 20:36 Lars Kruse

Plugin lxc: use comprehensible names for variables

8b955667 2019-08-11 20:36 Lars Kruse

Plugin lxc: fix handling of "excludes" parameter

Previously only the first item in the "excludes" environment variable
was really excluded.

199b4517 2019-08-11 20:36 Lars Kruse

Plugin lxc: use "grep -E" instead of "egrep"

46626b99 2019-08-11 20:36 Lars Kruse

Plugin lxc: simplify implementation of function "active_guests"

276e96c0 2019-08-11 20:36 Lars Kruse

Plugin lxc: remove ineffective "sort -u" from function "active_guests"

The output of "lxc-ls" is not line-splitted. Thus all active guests
are printed in a single line and "sort -u" (removal of non-unique
entries) had no effect.

6413375c 2019-08-11 20:36 Lars Kruse

Plugin lxc: simplify processing in function "active_guests"

9cdea3c3 2019-08-11 20:36 Lars Kruse

Plugin lxc: clarify variable names used in functions

da8a74fd 2019-08-11 20:36 Lars Kruse

Plugin lxc: omit output of "max" if the network interface speed is unknown

The "U" value is not defined for the "max" field.

914d1c5f 2019-08-11 20:36 Lars Kruse

Plugin lxc: clarify network bandwidth calculation

313d195f 2019-08-11 20:36 Lars Kruse

Plugin lxc: simplify interface of "lxc_netdev"

89003f01 2019-08-11 20:36 Lars Kruse

Plugin lxc: fix quoting issues

0d593014 2019-08-11 20:36 Lars Kruse

Plugin lxc: fix printing of "${graph_period}"

This specific text token ("${graph_period}") is interpreted by munin and
should not be interpreted by the shell. Thus it needs to be escaped.

e91f7ecb 2019-08-11 20:36 Lars Kruse

Plugin lxc: remove ineffective usage of "bc"

The command "wc -w" already outputs the final result.
Thus we do not need this command (and do not have to depend on it).

d415877c 2019-08-11 20:36 Lars Kruse

Plugin lxc: explicitly assign all accepted environment variables

ec3a7f40 2019-08-11 20:36 Lars Kruse

Plugin lxc: function "lxc_count_processes" now outputs its result

Previously the result was returned as the exit code of the function
(which would prevent the usage of "set -e").
Additionally the fallback value that was previously calculated outside
of the function is now part of it.

9af96d2c 2019-08-11 20:36 Lars Kruse

Plugin lxc: draw stacked RAM graphs by default

Previously "ram_display_stacked" defaulted to "false" (non-stacked
graphs). The new default should be suitable for most situations.

ab6f4e3c 2019-08-11 20:36 Lars Kruse

Plugin lxc: fix configurable RAM graphing

Previously (before the multigraph conversion) the configuration setting
for "lxc_ram" was called "areastack". The multigraph conversion
documented a new configuration setting "ram_areastack", but it was not
used, yet....

d004990b 2019-08-11 20:36 Lars Kruse

Plugin lxc: exit after autoconf

Previously processing continued after a successful autoconf operation.

6696a4d8 2019-08-11 20:35 Lars Kruse

Plugin lxc: unify whitespace

c0fe6dc3 2019-08-11 17:09 Marc SCHAEFER

Compatibility with older field names

784b06fe 2019-08-11 17:09 Marc SCHAEFER

Sections and small fix

4e321bbc 2019-08-11 17:09 Marc SCHAEFER

First multigraph version

ddcc19cd 2019-08-11 17:09 Marc SCHAEFER

Initial version of multigraph version

154ffc10 2019-08-11 17:09 Marc SCHAEFER

Fix

5a3e66be 2019-08-11 17:09 Marc SCHAEFER

version

50a998b4 2019-08-11 17:09 Marc SCHAEFER

areastack option

5105020f 2019-08-11 17:09 Marc SCHAEFER

- added systemd possibility for stats - cleanup

241b0c60 2019-08-11 17:09 Marc SCHAEFER

Fix for lxc < 3

89e0f1c7 2019-08-11 17:09 Marc SCHAEFER

Update

9ef366c7 2019-08-11 17:09 Marc SCHAEFER

- autoconf cleanup - better lxc_clean_fieldname workaround supporting non numeric compatibility - lxc_netdev now compatible with lxc3 and lxc2 at a small CPU cost - lxc_cgroup now compatible with lxc3 and lxc2; may however fail with lxc2 if your config file contains cruft

ab67ad80 2019-08-11 17:09 Marc SCHAEFER

Comment

2cfba9f8 2019-08-11 17:09 Marc SCHAEFER

Comment

3e865223 2019-08-11 17:09 Marc SCHAEFER

lxc < 3 support

ce6e67ff 2019-08-11 16:49 Marc SCHAEFER

lxc: working on buster (gandalf), and almost working on virtual (jessie), except lxc_net

17f78427 2018-08-01 20:33 Lars Kruse

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files
196c0572 2018-06-10 08:54 Lars Kruse

lxc_ram: simplify config with/without 'areastack'

a0cafdcf 2018-06-10 08:50 Lars Kruse

lxc_ram: add support for DIRTYCONFIG

2ce1b321 2018-06-10 08:49 Lars Kruse

lxc_ram: use functions for actions

937ed37d 2018-06-10 08:47 Lars Kruse

lxc_ram: unify whitespace

a49b362e 2018-06-10 08:42 Lars Kruse

lxc_ram: change from bash to sh

aaee0699 2018-06-10 08:41 Lars Kruse

lxc_ram: fix shellcheck issues

8a5b34c9 2018-06-10 08:35 Lars Kruse

lxc_ram: simplify quoting

1c412d19 2017-03-04 10:48 Ken-ichi Mito

refactor: code of areastack option is hard to understand

- reviewed on https://github.com/munin-monitoring/contrib/pull/738#pullrequestreview-5187474
- split two conditional branches to simple if-else code

58e5b2f3 2017-03-04 10:34 Ken-ichi Mito

rename option to 'env.areastack'

1c917e64 2017-03-04 10:34 Adrian Moisey

Add support for Ubuntu 14.04

5dc3787f 2017-03-04 10:34 Ken-ichi Mito

add new option 'env.stack_usage' to lxc_ram

  • draw memory usages of containers as stacked area charts
  • the type of other graphs are not changed (default -> LINE2)
ff883dee 2017-02-21 23:34 dipohl

Category Tree: reduce number of categories

9cc4259f 2015-08-03 09:37 Niklas Yann Wettengel

Added handling of multiple lxc.network.veth.pair-lines

fba800ae 2015-03-02 06:51 Veres Lajos

typofixes - https://github.com/vlajos/misspell_fixer

Suspicious sections:
plugins/mail/postfix_mail_stats recieved.label
plugins/nginx/nginx_vhost_traffic

e3c40a04 2014-05-30 11:55 Bjoern Boschman

added lxc plugins from https://github.com/vajtsz/munin-plugins