3928dcbcabf0688fbc5438fc9011aff8fca67f9d
[yardstick.git] / yardstick / network_services / nfvi / collectd.conf
1 # Config file for collectd(1).
2 #
3 # Some plugins need additional configuration and are disabled by default.
4 # Please read collectd.conf(5) for details.
5 #
6 # You should also read /usr/share/doc/collectd-core/README.Debian.plugins
7 # before enabling any more plugins.
8
9 ##############################################################################
10 # Global                                                                     #
11 #----------------------------------------------------------------------------#
12 # Global settings for the daemon.                                            #
13 ##############################################################################
14
15 Hostname "nsb_stats"
16 FQDNLookup true
17
18 Interval {interval}
19
20 ##############################################################################
21 # LoadPlugin section                                                         #
22 #----------------------------------------------------------------------------#
23 # Specify what features to activate.                                         #
24 ##############################################################################
25
26 #LoadPlugin syslog
27 {loadplugin}
28
29 ##############################################################################
30 # Plugin configuration                                                       #
31 #----------------------------------------------------------------------------#
32 # In this section configuration stubs for each plugin are provided. A desc-  #
33 # ription of those options is available in the collectd.conf(5) manual page. #
34 ##############################################################################
35
36 #<Plugin syslog>
37 #        LogLevel debug
38 #</Plugin>
39
40 <Plugin amqp>
41         <Publish "name">
42                 Host "0.0.0.0"
43                 Port "5672"
44                 VHost "/"
45                 User "admin"
46                 Password "admin"
47                 Exchange "amq.fanout"
48                 RoutingKey "collectd"
49                 Persistent false
50                 StoreRates false
51                 ConnectionRetryDelay 0
52         </Publish>
53 </Plugin>
54
55 <Plugin cpu>
56         ReportByCpu true
57         ReportByState true
58         ValuesPercentage true
59 </Plugin>
60
61 <Plugin memory>
62         ValuesAbsolute true
63         ValuesPercentage false
64 </Plugin>
65
66 <Plugin "intel_rdt">
67   Cores ""
68 </Plugin>
69
70 <Plugin intel_pmu>
71      ReportHardwareCacheEvents true
72      ReportKernelPMUEvents true
73      ReportSoftwareEvents true
74      EventList "/root/.cache/pmu-events/GenuineIntel-6-2D-core.json"
75      HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
76 </Plugin>
77
78 <Plugin hugepages>
79     ReportPerNodeHP  true
80     ReportRootHP     true
81     ValuesPages      true
82     ValuesBytes      false
83     ValuesPercentage false
84 </Plugin>
85
86 <Plugin hugepages>
87     ReportPerNodeHP  true
88     ReportRootHP     true
89     ValuesPages      true
90     ValuesBytes      false
91     ValuesPercentage false
92 </Plugin>
93
94 <Plugin dpdkstat>
95   <EAL>
96     Coremask "0x1"
97     MemoryChannels "4"
98     ProcessType "secondary"
99     FilePrefix "rte"
100   </EAL>
101   SharedMemObj "dpdk_collectd_stats_0"
102   EnabledPortMask 0xffff
103   {dpdk_interface}
104 </Plugin>
105
106 <Plugin virt>
107     Domain "samplevnf"
108 </Plugin>
109
110 <Plugin ovs_stats>
111   Port "6640"
112   Address "127.0.0.1"
113   Socket "/usr/local/var/run/openvswitch/db.sock"
114   Bridges "br0" "br_ext"
115 </Plugin>
116
117 <Include "/etc/collectd/collectd.conf.d">
118         Filter "*.conf"
119 </Include>