b9974037f465c7a81d43ed985d662f3246c500b9
[vswitchperf.git] / conf / 05_collector.conf
1 # Copyright 2015-2018 Intel Corporation, Spirent Communications
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # ############################
16 # Collector configuration
17 # ############################
18
19 COLLECTOR = 'Pidstat'
20 COLLECTOR_DIR = os.path.join(ROOT_DIR, 'tools/collectors')
21
22 # processes to be monitored by pidstat
23 PIDSTAT_MONITOR = ['ovs-vswitchd', 'ovsdb-server', 'qemu-system-x86_64', 'vpp']
24
25 # options which will be passed to pidstat
26 PIDSTAT_OPTIONS = '-dur'
27
28 # sampling interval used by pidstat to collect statistics
29 PIDSTAT_SAMPLE_INTERVAL = 1
30
31 # prefix of pidstat's log file; separate log file is created
32 # for each testcase in the directory with results
33 LOG_FILE_PIDSTAT = 'pidstat'
34
35 ##########################################
36 # Collectd Specific configuration
37 ##########################################
38 COLLECTD_IP = "127.0.0.1"
39 COLLECTD_PORT = 25826
40 COLLECTD_SECURITY_LEVEL = 0
41 COLLECTD_AUTH_FILE = ''
42 LOG_FILE_COLLECTD = 'collectd'
43
44 # Configure filters - Interested (KEYS), Not-Interested (XKEYS)
45 COLLECTD_CPU_KEYS = ['system', 'idle']
46 COLLECTD_PROCESSES_KEYS = ['user', 'system']
47 COLLECTD_INTERFACE_KEYS = ['dropped']
48 COLLECTD_OVSSTAT_KEYS = ['dropped', 'broadcast']
49 COLLECTD_DPDKSTAT_KEYS = ['dropped']
50 COLLECTD_INTELRDT_KEYS = ['llc']
51
52 # Interface types to exclude
53 COLLECTD_INTERFACE_XKEYS = ['docker', 'lo']
54 # Core-Ids to Exclude from
55 # Provide individual core-ids or range of core-ids.
56 # The range is specified using '-'
57 COLLECTD_INTELRDT_XKEYS = [ ]
58
59 ###############################################
60 # Multi Command Collector Configurations
61 ###############################################
62 MC_COLLECTD_CSV = '/tmp/csv/'
63 MC_COLLECTD_CMD = '/opt/collectd/sbin/collectd'
64 MC_PROX_HOME = '/home/opnfv/irq/'
65 MC_PROX_CMD = './runrapid.py'
66 MC_PROX_OUT = 'RUNirq.irq.log'
67 MC_CRON_OUT = '/tmp/ovs-cores.log'
68 MC_BEAT_CFILE = '/etc/filebeat/filebeat.yml'