packetloss.conf 1.72 KB
Newer Older
's avatar
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
[global]

# at least for now, all fields are mandatory; set them, but do not comment them out

packetloss_rrd_filename         = packetloss.rrd
packetloss_packets_rrd_filename = packetloss_packets.rrd
packetloss_flows_rrd_filename   = packetloss_flows.rrd
packetloss_status_filename      = packetloss_status.csv
packetloss_starts_filename      = packetloss_starts.csv
packetloss_startlog_filename    = packetloss_start.log

bpf_filter = greater 0

14
15
#cpu = 1

's avatar
committed
16
17
18
19
20
21
# number of flows than packetloss application can receive in one life-cycle (10s)
# there is a limitation of 49998 flows per device becouse DIMAPI_DATA_SIZE = 2000000 in mapiipc.h
# flows_max will be limited automatically in case it would exceeded 49998 * number_of_all_devices
flows_max = 250000

# tolerate this timestamp difference among hosts (in NTP, so in_seconds = this_value / 2^32)
22
#timestamp_tolerance = 2147483648 // NTP, 0.5 seconds
's avatar
committed
23
24
25
26
27
28
timestamp_tolerance = 429496729 // NTP, 0.1 seconds

# set 1 if you want to reconnect every loop (may be too much time consuming)
# set 0 if you want to reconnect just on SIGUSR1
still_reconnect = 0

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# specify subjects:
#
# [subject]
# lable = SUBJ1
# host_id_in = 0
# host_id_out = 1
# enabled = true
#
# [subject]
# label = SUBJ2
# host_id_in = 2
# host_id_out = 2
# enabled = true
#
#
's avatar
committed
44
45
46
47
48
49
50
51
# specify hosts:
#
# [host]
# hostname = host1.example.net
# interface = /dev/dag0
# interface = /dev/dag1
# label = host1
# description =
52
# direction = in
's avatar
committed
53
54
55
56
57
58
59
60
# enabled = true
#
# [host]
# hostname = host2.example.net
# interface = eth0
# interface = eth1
# label = host2
# description =
61
62
63
64
65
66
67
68
69
# direction = out
# enabled = true
#
# [host]
# hostname = host3.example.net
# interface = eth0
# label = host3
# description =
# direction = inout
's avatar
committed
70
71
72
73
# enabled = true
#

# end of config