add copyright year and license
Guido Günther authored 15 years ago
Guido Guenther committed 15 years ago
0 | 0 |
#!/usr/bin/python
|
|
1 |
# vim: set fileencoding=utf-8 :
|
1 | 2 |
#
|
2 | 3 |
# Munin plugin to show the I/O load of libvirt managed virtual machines
|
3 | 4 |
#
|
4 | |
# Copyright Guido Guenther <agx@sigxcpu.org>
|
|
5 |
# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
|
|
6 |
#
|
|
7 |
# Licesnse: GPLv2
|
5 | 8 |
#
|
6 | 9 |
# depends: python-libvirt, python-libxml2
|
7 | 10 |
#
|
|
25 | 28 |
print """graph_title Virtual Domain Block Device I/O
|
26 | 29 |
graph_vlabel Bytes read (-)/ written (+) per ${graph_period}
|
27 | 30 |
graph_category Virtual Machines
|
28 | |
graph_info This graph shows the block device I/O of the virtual machines
|
29 | |
"""
|
|
31 |
graph_info This graph shows the block device I/O of the virtual machines"""
|
30 | 32 |
|
31 | 33 |
conn = libvirt.openReadOnly(uri)
|
32 | 34 |
ids = conn.listDomainsID()
|
4 | 4 |
# machines
|
5 | 5 |
#
|
6 | 6 |
# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
|
|
7 |
#
|
|
8 |
# License: GPLv2
|
7 | 9 |
#
|
8 | 10 |
# depends: python-libvirt
|
9 | 11 |
#
|
0 | 0 |
#!/usr/bin/python
|
|
1 |
# vim: set fileencoding=utf-8 :
|
1 | 2 |
#
|
2 | 3 |
# Munin plugin to show the network traffic of libvirt managed virtual machines
|
3 | 4 |
#
|
4 | |
# Copyright Guido Guenther <agx@sigxcpu.org>
|
|
5 |
# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
|
|
6 |
#
|
|
7 |
# License GPLv2
|
5 | 8 |
#
|
6 | 9 |
# depends: python-libvirt, python-libxml2
|
7 | 10 |
#
|
|
25 | 28 |
print """graph_title Virtual Domain Network I/O
|
26 | 29 |
graph_vlabel Bytes rx (-)/ tx (+) per ${graph_period}
|
27 | 30 |
graph_category Virtual Machines
|
28 | |
graph_info This graph shows the network I/O of the virtual machines
|
29 | |
"""
|
|
31 |
graph_info This graph shows the network I/O of the virtual machines"""
|
30 | 32 |
|
31 | 33 |
conn = libvirt.openReadOnly(uri)
|
32 | 34 |
ids = conn.listDomainsID()
|