086820cabc06e003b90b2385b78af453686f5df6
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/README.Debian.plugins before
7 # enabling any more plugins.
9 #Hostname "localhost"
10 FQDNLookup true
11 #BaseDir "/var/lib/collectd"
12 #PluginDir "/usr/lib/collectd"
13 #TypesDB "/usr/lib/collectd/types.db" "/etc/collectd/my_types.db"
14 #Interval 10
15 #ReadThreads 5
17 #LoadPlugin logfile
18 LoadPlugin syslog
20 #<Plugin logfile>
21 # LogLevel "info"
22 # File STDOUT
23 # Timestamp true
24 #</Plugin>
26 <Plugin syslog>
27 LogLevel info
28 </Plugin>
30 #LoadPlugin apache
31 #LoadPlugin apcups
32 #LoadPlugin apple_sensors
33 LoadPlugin battery
34 LoadPlugin cpu
35 #LoadPlugin cpufreq
36 #LoadPlugin csv
37 LoadPlugin df
38 LoadPlugin disk
39 #LoadPlugin dns
40 #LoadPlugin email
41 LoadPlugin entropy
42 #LoadPlugin exec
43 #LoadPlugin hddtemp
44 LoadPlugin interface
45 #LoadPlugin iptables
46 #LoadPlugin ipvs
47 LoadPlugin irq
48 #LoadPlugin libvirt
49 LoadPlugin load
50 #LoadPlugin mbmon
51 #LoadPlugin memcached
52 LoadPlugin memory
53 #LoadPlugin multimeter
54 #LoadPlugin mysql
55 #LoadPlugin netlink
56 #LoadPlugin network
57 #LoadPlugin nfs
58 #LoadPlugin nginx
59 #LoadPlugin ntpd
60 #LoadPlugin nut
61 #LoadPlugin perl
62 #LoadPlugin ping
63 LoadPlugin processes
64 LoadPlugin rrdtool
65 #LoadPlugin sensors
66 #LoadPlugin serial
67 #LoadPlugin snmp
68 LoadPlugin swap
69 #LoadPlugin tape
70 LoadPlugin tcpconns
71 #LoadPlugin unixsock
72 LoadPlugin users
73 #LoadPlugin uuid
74 #LoadPlugin vserver
75 #LoadPlugin wireless
77 #<Plugin apache>
78 # URL "http://localhost/status?auto"
79 # User "www-user"
80 # Password "secret"
81 # CACert "/etc/ssl/ca.crt"
82 #</Plugin>
84 #<Plugin apcups>
85 # Host "localhost"
86 # Port 3551
87 #</Plugin>
89 #<Plugin csv>
90 # DataDir "/var/lib/collectd/csv"
91 # StoreRates false
92 #</Plugin>
94 #<Plugin df>
95 # Device "/dev/sda1"
96 # Device "192.168.0.2:/mnt/nfs"
97 # MountPoint "/home"
98 # FSType "ext3"
99 # IgnoreSelected false
100 #</Plugin>
102 #<Plugin dns>
103 # Interface "eth0"
104 # IgnoreSource "192.168.0.1"
105 #</Plugin>
107 #<Plugin email>
108 # SocketGroup "collectd"
109 # SocketPerms "0770"
110 # MaxConns 5
111 #</Plugin>
113 #<Plugin exec>
114 # Exec user "/path/to/exec"
115 # NotificationExec "/path/to/exec"
116 #</Plugin>
118 #<Plugin hddtemp>
119 # Host "127.0.0.1"
120 # Port 7634
121 # TranslateDevicename false
122 #</Plugin>
124 #<Plugin interface>
125 # Interface "eth0"
126 # IgnoreSelected false
127 #</Plugin>
129 #<Plugin iptables>
130 # Chain "table" "chain"
131 #</Plugin>
133 #<Plugin irq>
134 # Irq 7
135 # Irq 8
136 # Irq 9
137 # IgnoreSelected true
138 #</Plugin>
140 #<Plugin libvirt>
141 # Connection "xen:///"
142 # RefreshInterval 60
143 # Domain "name"
144 # BlockDevice "name:device"
145 # InterfaceDevice "name:device"
146 # IgnoreSelected false
147 # HostnameFormat name
148 #</Plugin>
150 #<Plugin mbmon>
151 # Host "127.0.0.1"
152 # Port 411
153 #</Plugin>
155 #<Plugin memcached>
156 # Host "127.0.0.1"
157 # Port "11211"
158 #</Plugin>
160 #<Plugin mysql>
161 # Host "database.serv.er"
162 # User "db_user"
163 # Password "secret"
164 # Database "db_name"
165 #</Plugin>
167 #<Plugin netlink>
168 # Interface "All"
169 # VerboseInterface "All"
170 # QDisc "eth0" "pfifo_fast-1:0"
171 # Class "ppp0" "htb-1:10"
172 # Filter "ppp0" "u32-1:0"
173 # IgnoreSelected false
174 #</Plugin>
176 #<Plugin network>
177 # Server "ff18::efc0:4a42" "25826"
178 # Server "239.192.74.66" "25826"
179 # Listen "ff18::efc0:4a42" "25826"
180 # Listen "239.192.74.66" "25826"
181 # TimeToLive "128"
182 # Forward false
183 # CacheFlush 1800
184 #</Plugin>
186 #<Plugin nginx>
187 # URL "http://localhost/status?auto"
188 # User "www-user"
189 # Password "secret"
190 # CACert "/etc/ssl/ca.crt"
191 #</Plugin>
193 #<Plugin ntpd>
194 # Host "localhost"
195 # Port 123
196 # ReverseLookups false
197 #</Plugin>
199 #<Plugin nut>
200 # UPS "upsname@hostname:port"
201 #</Plugin>
203 #<Plugin perl>
204 # IncludeDir "/my/include/path"
205 # BaseName "Collectd::Plugin"
206 # EnableDebugger ""
207 # LoadPlugin "foo"
208 # LoadPlugin "bar"
209 #</Plugin>
211 #<Plugin ping>
212 # Host "host.foo.bar"
213 # Host "host.baz.qux"
214 # TTL 255
215 #</Plugin>
217 #<Plugin processes>
218 # Process "name"
219 #</Plugin>
221 <Plugin rrdtool>
222 DataDir "/var/lib/collectd/rrd"
223 # CacheTimeout 120
224 # CacheFlush 900
225 #
226 # The following settings are rather advanced
227 # and should usually not be touched:
228 # StepSize 10
229 # HeartBeat 20
230 # RRARows 1200
231 # RRATimespan 158112000
232 # XFF 0.1
233 </Plugin>
235 #<Plugin sensors>
236 # Sensor "it8712-isa-0290/temperature-temp1"
237 # Sensor "it8712-isa-0290/fanspeed-fan3"
238 # Sensor "it8712-isa-0290/voltage-in8"
239 # IgnoreSelected false
240 #</Plugin>
242 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
243 # comprehensive sample configuration.
244 #<Plugin snmp>
245 # <Data "powerplus_voltge_input">
246 # Type "voltage"
247 # Table false
248 # Instance "input_line1"
249 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
250 # </Data>
251 # <Data "hr_users">
252 # Type "users"
253 # Table false
254 # Instance ""
255 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
256 # </Data>
257 # <Data "std_traffic">
258 # Type "if_octets"
259 # Table true
260 # Instance "IF-MIB::ifDescr"
261 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
262 # </Data>
263 #
264 # <Host "some.switch.mydomain.org">
265 # Address "192.168.0.2"
266 # Version 1
267 # Community "community_string"
268 # Collect "std_traffic"
269 # Inverval 120
270 # </Host>
271 # <Host "some.server.mydomain.org">
272 # Address "192.168.0.42"
273 # Version 2
274 # Community "another_string"
275 # Collect "std_traffic" "hr_users"
276 # </Host>
277 # <Host "some.ups.mydomain.org">
278 # Address "192.168.0.3"
279 # Version 1
280 # Community "more_communities"
281 # Collect "powerplus_voltge_input"
282 # Interval 300
283 # </Host>
284 #</Plugin>
286 #<Plugin tcpconns>
287 # ListeningPorts false
288 # LocalPort "25"
289 # RemotePort "25"
290 #</Plugin>
292 #<Plugin unixsock>
293 # SocketFile "/var/run/collectd-unixsock"
294 # SocketGroup "collectd"
295 # SocketPerms "0660"
296 #</Plugin>
298 #<Plugin uuid>
299 # UUIDFile "/etc/uuid"
300 #</Plugin>
302 Include "/etc/collectd/thresholds.conf"