2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Lars Kruse
33e95e6ff9 Review and unify category assignments of plugins 2018-08-01 23:56:56 +02:00
Lars Kruse
e0b74c69d7 kvm_net: add technical details to 'graph_info' 2018-06-10 22:04:39 +02:00
Lars Kruse
e0df6aa788 kvm_net: improve the network interface name parser and admit its limits
The network interface parser of this plugin was overly specific before.
It relied on a specific format of the arguments handed over to kvm while
starting the VM.  For example the following format was usable:

  ... -netdev tap,ifname=foo,...

But kvm/qemu support a variety of ways for configuring network
interfaces via the commandline.  E.g. libvirt does not use the "ifname"
parameter above.  Thus VMs running on a host controlled via libvirt
cannot be tracked with this plugin.

This limititation is now clearly documented in the header of the plugin.
2018-06-10 22:04:39 +02:00
Lars Kruse
b6c6a02efe kvm_net: update VM name parsing
The old parser seemed to rely on a simple "-name foo" argument format of
kvm/qemu. The changed parser also accepts the following formats:
* name,foo=bar,baz=bot
* guest=name,foo=bar
2018-06-10 22:04:39 +02:00
Lars Kruse
54330cc3e6 kvm_net: simplify argument handling 2018-06-10 22:04:39 +02:00
Lars Kruse
89e4dd6420 kvm_net: avoid shell when using Popen 2018-06-10 22:04:39 +02:00
Lars Kruse
aa8f1a59c4 kvm_net: fix python code style issues 2018-06-10 22:04:39 +02:00
Lars Kruse
a9059703a6 kvm_net: switch to perldoc documentation header 2018-06-10 22:04:39 +02:00
Lars Kruse
3267bbd0ef kvm_net: switch to python3 2018-06-10 22:04:39 +02:00
Lars Kruse
67cc769c87 kvm_net: use print function for python3-compatibility 2018-06-10 22:04:39 +02:00
Lars Kruse
f6080f5f8e kvm_net: unify whitespace 2018-06-10 22:04:39 +02:00
Lars Kruse
7f98e21f2b kvm_net: unify quoting 2018-06-10 17:51:34 +02:00
Lars Kruse
e87d3a6b3c kvm_net: remove unused function 'find_vms_tap' 2018-06-10 17:51:34 +02:00
Jan Egil Vestbø
67d6e559ec Read correct values from /proc/net/dev 2017-09-30 17:44:16 +02:00
Jan Egil Vestbø
621744a6f0 Includes more kvm-processes 2017-09-30 17:42:37 +02:00
Lars Kruse
4b2fcbf8b9 replace hard-coded paths (e.g. '/var/lib/munin/plugin-state') with '$MUNIN_PLUGSTATE'
see http://guide.munin-monitoring.org/en/latest/plugin/env.html
2017-04-18 23:32:55 +02:00
dipohl
f5b816df9e Plugin-Gallery: get better 2nd level headings 2017-02-23 19:53:57 +01:00