aboutsummaryrefslogtreecommitdiff
path: root/libvirt-ifstat
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2008-10-21 18:21:53 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-21 18:21:53 +0200
commitda6a0050276ce1048312446efd94b2bff149a4d0 (patch)
tree0f629763d51c021cde6c2b1bf591414d09a96701 /libvirt-ifstat
parentf5ead05a9faba85618401b4f09c216addf9e354d (diff)
add copyright year and license
Diffstat (limited to 'libvirt-ifstat')
-rw-r--r--libvirt-ifstat8
1 files changed, 5 insertions, 3 deletions
diff --git a/libvirt-ifstat b/libvirt-ifstat
index 22d257f..8d3bde4 100644
--- a/libvirt-ifstat
+++ b/libvirt-ifstat
@@ -1,8 +1,11 @@
#!/usr/bin/python
+# vim: set fileencoding=utf-8 :
#
# Munin plugin to show the network traffic of libvirt managed virtual machines
#
-# Copyright Guido Guenther <agx@sigxcpu.org>
+# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
+#
+# License GPLv2
#
# depends: python-libvirt, python-libxml2
#
@@ -26,8 +29,7 @@ def print_config(uri):
print """graph_title Virtual Domain Network I/O
graph_vlabel Bytes rx (-)/ tx (+) per ${graph_period}
graph_category Virtual Machines
-graph_info This graph shows the network I/O of the virtual machines
-"""
+graph_info This graph shows the network I/O of the virtual machines"""
conn = libvirt.openReadOnly(uri)
ids = conn.listDomainsID()