1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Alois
b6912e7649 Update kvm_cpu
the line length change doesn't make the world better... without pyflakes I already wondered, why there is an additional linebreak. now it needs two additional one to stay below 99 
changes here are tested and work on Python 3.7.3 (debian buster).
2021-03-10 12:19:28 +01:00
Alois
acdaeb6d11 Update kvm_cpu
in python3 filter returns an object, not an list. I think a list is required here? at least the plugin works as soon as list(...) is added.
need to change from pid to pid.decode, as pid is binary and not a string.
2021-03-10 12:19:28 +01:00
Lars Kruse
bde90ba910 Plugin kvm_cpu: migrate to Python3, format documentation 2020-11-26 02:19:48 +01:00
Lars Kruse
a7139bcaee Unify shebang for python scripts 2020-10-28 23:38:41 +01:00
Bianco Veigel
225a9156df add proxmox comment 2020-08-17 02:41:02 +02:00
Bianco Veigel
113008b06d use name from commandline parameter for kvm 2020-08-17 02:41:02 +02:00
Lars Kruse
8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Benoît S
c4a08bfa53 libvirt/kvm_*: Simple regex to match VM name
On Debian Stretch the cmdline is something like:
qemu-system-x86_64-enable-kvm-nameguest=vmname,debug-threads=on-S-[…]
Without null characters:
qemu-system-x86_64 -enable-kvm -name guest=vmname,debug-threads=on[…]

We need to match only guest=vmname, so the regex
"^.*guest=([a-zA-Z0-9.-_-]*).*$" is simpler and match the VM name.
The precedent regex "^.*-name\x00([a-zA-Z0-9.-_-]*)\x00\-.*$" was not matching it.

BTW, It seems that \x00 does not match correctly null characters so I removed it.
2019-07-11 22:54:45 +02: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
33e95e6ff9 Review and unify category assignments of plugins 2018-08-01 23:56:56 +02:00
Jan Egil Vestbø
621744a6f0 Includes more kvm-processes 2017-09-30 17:42:37 +02:00
dipohl
f5b816df9e Plugin-Gallery: get better 2nd level headings 2017-02-23 19:53:57 +01:00
Renamed from plugins/virtualization/kvm_cpu (Browse further)