Code

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