54db3889579381149f0b75d7b12edb8eb2ecc2f7
[bottlenecks.git] / monitor / config / barometer_client.conf
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global                                                                     #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon.                                            #
11 ##############################################################################
12
13 #Hostname    "localhost"
14 #FQDNLookup   true
15 #BaseDir     "${prefix}/var/lib/collectd"
16 #PIDFile     "${prefix}/var/run/collectd.pid"
17 #PluginDir   "${exec_prefix}/lib/collectd"
18 #TypesDB     "/opt/collectd/share/collectd/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the   #
29 # plugin name.                                                               #
30 # Disabled by default.                                                       #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block:               #
37 #   <LoadPlugin foo>                                                         #
38 #       Interval 60                                                          #
39 #   </LoadPlugin>                                                            #
40 #----------------------------------------------------------------------------#
41 #Interval     10
42
43 #MaxReadInterval 86400
44 #Timeout         2
45 #ReadThreads     5
46 #WriteThreads    5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow   800000
52
53 ##############################################################################
54 # Logging                                                                    #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log     #
57 # messages generated when loading or configuring other plugins can be        #
58 # accessed.                                                                  #
59 ##############################################################################
60
61 LoadPlugin syslog
62 #LoadPlugin logfile
63 #LoadPlugin log_logstash
64
65 #<Plugin logfile>
66 #   LogLevel info
67 #   File STDOUT
68 #   Timestamp true
69 #   PrintSeverity false
70 #</Plugin>
71
72 #<Plugin log_logstash>
73 #   LogLevel info
74 #   File "${prefix}/var/log/collectd.json.log"
75 #</Plugin>
76
77 #<Plugin syslog>
78 #   LogLevel info
79 #</Plugin>
80
81 ##############################################################################
82 # LoadPlugin section                                                         #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built  #
85 # but are disabled by default.                                               #
86 #                                                                            #
87 # Lines beginning with `##' belong to plugins which have not been built due  #
88 # to missing dependencies or because they have been deactivated explicitly.  #
89 ##############################################################################
90
91 ##LoadPlugin barometer
92 LoadPlugin cpu
93 LoadPlugin interface
94 LoadPlugin load
95 LoadPlugin memory
96 LoadPlugin network
97 LoadPlugin ovs_events
98 LoadPlugin ovs_stats
99 LoadPlugin rrdtool
100 LoadPlugin write_http
101
102 ##############################################################################
103 # Plugin configuration                                                       #
104 #----------------------------------------------------------------------------#
105 # In this section configuration stubs for each plugin are provided. A desc-  #
106 # ription of those options is available in the collectd.conf(5) manual page. #
107 ##############################################################################
108
109 #<Plugin "barometer">
110 #   Device            "/dev/i2c-0";
111 #   Oversampling      512
112 #   PressureOffset    0.0
113 #   TemperatureOffset 0.0
114 #   Normalization     2
115 #   Altitude          238.0
116 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
117 #</Plugin>
118
119 #<Plugin cpu>
120 #  ReportByCpu true
121 #  ReportByState true
122 #  ValuesPercentage false
123 #  ReportNumCpu false
124 #  ReportGuestState false
125 #  SubtractGuestState true
126 #</Plugin>
127
128 #<Plugin interface>
129 #   Interface "eth0"
130 #   IgnoreSelected false
131 #   ReportInactive true
132 #   UniqueName false
133 #</Plugin>
134
135 #<Plugin memcached>
136 #   <Instance "local">
137 #       #Host "memcache.example.com"
138 #       Address "127.0.0.1"
139 #       Port "11211"
140 #   </Instance>
141 #</Plugin>
142
143 #<Plugin memory>
144 #   ValuesAbsolute true
145 #   ValuesPercentage false
146 #</Plugin>
147
148 <Plugin network>
149         Server "192.168.114.2" "25826"
150 </Plugin>
151
152 <Plugin ovs_events>
153   Port "6640"
154   Address "127.0.0.1"
155   Socket "/var/run/openvswitch/db.sock"
156   Interfaces "br0" "veth0"
157   SendNotification true
158   DispatchValues false
159 </Plugin>
160
161 <Plugin ovs_stats>
162   Port "6640"
163   Address "127.0.0.1"
164   Socket "/var/run/openvswitch/db.sock"
165   Bridges "br0" "br_ext"
166 </Plugin>
167
168 <Plugin write_http>
169   <Node "collectd_exporter">
170     URL "http://192.168.114.2:9103/collectd-post"
171     Format "JSON"
172     StoreRates false
173   </Node>
174 </Plugin>