1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

kvm_net: switch to perldoc documentation header

This commit is contained in:
Lars Kruse 2018-06-10 17:40:40 +02:00
parent 3267bbd0ef
commit a9059703a6

View file

@ -1,18 +1,36 @@
#!/usr/bin/python3
# vim: set fileencoding=utf-8
#
# Munin plugin to show the network I/O per vm
#
# Copyright Igor Borodikhin
#
# License : GPLv3
#
#
# parsed environment variables:
# vmsuffix: part of vm name to be removed
#
#%# capabilities=autoconf
#%# family=contrib
"""
=head1 NAME
kvm_net - Munin plugin to show the network I/O per VM
=head1 CONFIGURATION
parsed environment variables:
* vmsuffix: part of vm name to be removed
=head1 AUTHOR
Copyright (C) 2012 - Igor Borodikhin
Copyright (C) 2018 - Lars Kruse <devel@sumpfralle.de>
=head1 LICENSE
GPLv3
=head1 MAGIC MARKERS
#%# capabilities=autoconf
#%# family=contrib
=cut
"""
import re, os, sys
from subprocess import Popen, PIPE