-
Notifications
You must be signed in to change notification settings - Fork 55
/
INSTALL.KVM
40 lines (27 loc) · 982 Bytes
/
INSTALL.KVM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
This software is distributed under the following license:
http://sflow.net/license.html
Red Hat KVM Hypervisor
======================
To compile for a Red Hat KVM hypervisor:
% make rpm FEATURES="KVM PCAP OVS"
Dependencies include:
KVM: libvirt-dev(el) libxml2-dev(el)
PCAP: libpcap-dev(el)
The rpm will be written to /usr/src/redhat/RPMS/<ARCH>/
(where <ARCH> is i386 or x86_64 or ...)
Copy this rpm to the hypervisor, and install it,
then start the daemon with:
% sudo service hsflowd start
You can use virsh(1) and virt-manager(1) to see the data
that hsflowd can see via libvirt.
Traffic Monitoring
==================
If the linux-bridge is being used for networking then you
can add a line like this to /etc/hsflowd.conf:
pcap { dev = virbr0 }
so that the traffic to and from the VMs is monitored
with sFlow. Alternatively, if Open VSwitch is running,
adding:
ovs { }
will propagate your collector and sampling-rate information
to the switch via ovs-vsctl(1).