summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2008-10-23 12:58:36 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-23 12:59:15 +0200
commitf16a74a5a0c9745fe5717436a5a49aa51fa0838b (patch)
treea3a2a7e36af91f9e0d4348a4dbdf13bd230b46eb
parent4369c7459be29ef6966c7c5ebf0b2edf06151f0e (diff)
add INSTALL
-rw-r--r--INSTALL13
-rw-r--r--Makefile2
2 files changed, 14 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..5228433
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,13 @@
+Installation is simple:
+
+make PLUGINDIR=/etc/munin/plugins install
+/etc/init.d/munin-node restart
+
+The default uri used to connect to libvirt is "qemu:///system". This can be
+changed in the plugin configuration:
+
+cat <<EOF >/etc/munin/plugin-conf.d/libvirt
+[libvirt-*]
+env.uri xen:///
+EOF
+
diff --git a/Makefile b/Makefile
index 1359236..e17133e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ PLUGINS=libvirt-cputime \
libvirt-ifstat \
libvirt-mem
-ALL=$(PLUGINS) Makefile COPYING
+ALL=$(PLUGINS) Makefile COPYING INSTALL
PYFILES=$(patsubst %,%.py,$(PLUGINS))
install: $(PLUGINS)