Historique | Voir | Annoter | Télécharger (11,1 ko)
Plugin lxc: move to category "virtualization"
See http://guide.munin-monitoring.org/en/latest/reference/graph-category.html#well-known-categories
Plugin lxc: enable "set -eu" for better error handling
The code should be suitable for "exit-on-error" and "error-on-unset".
Plugin lxc: verify the availability of "lxc-ls"
Previously "autoconf" only verified, that /var/lib/lxc exists. But thiscould be just a remainder of a formerly installed lxc package.
Plugin lxc: add support for MUNIN_CAP_DIRTYCONFIG
Plugin lxc: use functions for top-level activities
This clarifies the flow of control and allows to useMUNIN_CAP_DIRTYCONFIG later.
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.
Plugin lxc: change the plugin from "bash" to "sh"
No more bashisms were left.
Plugin lxc: separate function for title beautification
This avoids a bashism.
Plugin lxc: simplify interface of "lxc_cgroup" and rename function
Plugin lxc: use comprehensible names for variables
Plugin lxc: fix handling of "excludes" parameter
Previously only the first item in the "excludes" environment variablewas really excluded.
Plugin lxc: use "grep -E" instead of "egrep"
Plugin lxc: simplify implementation of function "active_guests"
Plugin lxc: remove ineffective "sort -u" from function "active_guests"
The output of "lxc-ls" is not line-splitted. Thus all active guestsare printed in a single line and "sort -u" (removal of non-uniqueentries) had no effect.
Plugin lxc: simplify processing in function "active_guests"
Plugin lxc: clarify variable names used in functions
Plugin lxc: omit output of "max" if the network interface speed is unknown
The "U" value is not defined for the "max" field.
Plugin lxc: clarify network bandwidth calculation
Plugin lxc: simplify interface of "lxc_netdev"
Plugin lxc: fix quoting issues
Plugin lxc: fix printing of "${graph_period}"
This specific text token ("${graph_period}") is interpreted by munin andshould not be interpreted by the shell. Thus it needs to be escaped.
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).
Plugin lxc: explicitly assign all accepted environment variables
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 outsideof the function is now part of it.
Plugin lxc: draw stacked RAM graphs by default
Previously "ram_display_stacked" defaulted to "false" (non-stackedgraphs). The new default should be suitable for most situations.
Plugin lxc: fix configurable RAM graphing
Previously (before the multigraph conversion) the configuration settingfor "lxc_ram" was called "areastack". The multigraph conversiondocumented a new configuration setting "ram_areastack", but it was notused, yet....
Plugin lxc: exit after autoconf
Previously processing continued after a successful autoconf operation.
Plugin lxc: unify whitespace
Compatibility with older field names
Sections and small fix
First multigraph version