aboutsummaryrefslogtreecommitdiff
path: root/libvirt-ifstat
diff options
context:
space:
mode:
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()