Code

556681169edfe853319fd8c15269f9292850cf1c
[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 #BaseDir "/var/lib/collectd"
8 #PIDFile "/var/run/collectd.pid"
9 #PluginDir "/usr/lib/collectd"
10 #TypesDB "/usr/lib/collectd/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 load
33 #LoadPlugin logfile
34 #LoadPlugin mbmon
35 #LoadPlugin memcached
36 LoadPlugin memory
37 #LoadPlugin multimeter
38 #LoadPlugin mysql
39 #LoadPlugin netlink
40 #LoadPlugin network
41 #LoadPlugin nfs
42 #LoadPlugin nginx
43 #LoadPlugin ntpd
44 #LoadPlugin nut
45 #LoadPlugin perl
46 #LoadPlugin ping
47 LoadPlugin processes
48 LoadPlugin rrdtool
49 #LoadPlugin sensors
50 #LoadPlugin serial
51 #LoadPlugin snmp
52 LoadPlugin swap
53 LoadPlugin syslog
54 #LoadPlugin tape
55 LoadPlugin tcpconns
56 #LoadPlugin unixsock
57 LoadPlugin users
58 #LoadPlugin vserver
59 #LoadPlugin wireless
60 #LoadPlugin xmms
62 #<Plugin apache>
63 #   URL "http://localhost/status?auto"
64 #   User "www-user"
65 #   Password "secret"
66 #   CACert "/etc/ssl/ca.crt"
67 #</Plugin>
69 #<Plugin apcups>
70 #   Host "localhost"
71 #   Port 3551
72 #</Plugin>
74 #<Plugin csv>
75 #   DataDir "/var/lib/collectd/csv"
76 #</Plugin>
78 #<Plugin df>
79 #   Device "/dev/sda1"
80 #   Device "192.168.0.2:/mnt/nfs"
81 #   MountPoint "/home"
82 #   FSType "ext3"
83 #   IgnoreSelected false
84 #</Plugin>
86 #<Plugin dns>
87 #   Interface "eth0"
88 #   IgnoreSource "192.168.0.1"
89 #</Plugin>
91 #<Plugin email>
92 #   SocketGroup "collectd"
93 #   SocketPerms "0770"
94 #   MaxConns 5
95 #</Plugin>
97 #<Plugin exec>
98 #   Exec user "/path/to/exec"
99 #</Plugin>
101 #<Plugin hddtemp>
102 #   Host "127.0.0.1"
103 #   Port 7634
104 #</Plugin>
106 #<Plugin interface>
107 #   Interface "eth0"
108 #   IgnoreSelected false
109 #</Plugin>
111 #<Plugin iptables>
112 #   Chain table chain
113 #</Plugin>
115 #<Plugin irq>
116 #   Irq 7
117 #   Irq 8
118 #   Irq 9
119 #   IgnoreSelected true
120 #</Plugin>
122 #<Plugin logfile>
123 #   LogLevel "info"
124 #   File STDOUT
125 #</Plugin>
127 #<Plugin mbmon>
128 #   Host "127.0.0.1"
129 #   Port 411
130 #</Plugin>
132 #<Plugin memcached>
133 #   Host "127.0.0.1"
134 #   Port "11211"
135 #</Plugin>
137 #<Plugin mysql>
138 #   Host "database.serv.er"
139 #   User "db_user"
140 #   Password "secret"
141 #   Database "db_name"
142 #</Plugin>
144 #<Plugin netlink>
145 #   Interface "All"
146 #   VerboseInterface "All"
147 #   QDisc "eth0" "pfifo_fast-1:0"
148 #   Class "ppp0" "htb-1:10"
149 #   Filter "ppp0" "u32-1:0"
150 #</Plugin>
152 #<Plugin network>
153 #   Server "ff18::efc0:4a42" "25826"
154 #   Server "239.192.74.66" "25826"
155 #   Listen "ff18::efc0:4a42" "25826"
156 #   Listen "239.192.74.66" "25826"
157 #   TimeToLive "128"
158 #   Forward false
159 #   CacheFlush 1800
160 #</Plugin>
162 #<Plugin nginx>
163 #   URL "http://localhost/status?auto"
164 #   User "www-user"
165 #   Password "secret"
166 #   CACert "/etc/ssl/ca.crt"
167 #</Plugin>
169 #<Plugin ntpd>
170 #   Host "localhost"
171 #   Port 123
172 #</Plugin>
174 #<Plugin nut>
175 #   UPS "upsname@hostname:port"
176 #</Plugin>
178 #<Plugin perl>
179 #   IncludeDir "/my/include/path"
180 #   BaseName "Collectd::Plugin"
181 #   LoadPlugin "foo"
182 #   LoadPlugin "bar"
183 #</Plugin>
185 #<Plugin ping>
186 #   Host "host.foo.bar"
187 #   Host "host.baz.qux"
188 #</Plugin>
190 #<Plugin processes>
191 #   Process "name"
192 #</Plugin>
194 <Plugin rrdtool>
195    DataDir "/var/lib/collectd/rrd"
196 #   StepSize 10
197 #   HeartBeat 20
198 #   RRARows 1200
199 #   XFF 0.1
200 #   CacheTimeout 120
201 #   CacheFlush 900
202 </Plugin>
204 #<Plugin sensors>
205 #   Sensor "it8712-isa-0290/temperature-temp1"
206 #   Sensor "it8712-isa-0290/fanspeed-fan3"
207 #   Sensor "it8712-isa-0290/voltage-in8"
208 #   IgnoreSelected false
209 #</Plugin>
211 #<Plugin snmp>
212 #   <Data "powerplus_voltge_input">
213 #       Type "voltage"
214 #       Table false
215 #       Instance "input_line1"
216 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
217 #   </Data>
218 #   <Data "hr_users">
219 #       Type "users"
220 #       Table false
221 #       Instance ""
222 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
223 #   </Data>
224 #   <Data "std_traffic">
225 #       Type "if_octets"
226 #       Table true
227 #       Instance "IF-MIB::ifDescr"
228 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
229 #   </Data>
230 #   
231 #   <Host "some.switch.mydomain.org">
232 #       Address "192.168.0.2"
233 #       Version 1
234 #       Community "community_string"
235 #       Collect "std_traffic"
236 #       Inverval 120
237 #   </Host>
238 #   <Host "some.server.mydomain.org">
239 #       Address "192.168.0.42"
240 #       Version 2
241 #       Community "another_string"
242 #       Collect "std_traffic" "hr_users"
243 #   </Host>
244 #   <Host "some.ups.mydomain.org">
245 #       Address "192.168.0.3"
246 #       Version 1
247 #       Community "more_communities"
248 #       Collect "powerplus_voltge_input"
249 #       Interval 300
250 #   </Host>
251 #</Plugin>
253 <Plugin syslog>
254    LogLevel info
255 </Plugin>
257 #<Plugin tcpconns>
258 #   ListeningPorts false
259 #   LocalPort "25"
260 #   RemotePort "25"
261 #</Plugin>
263 #<Plugin unixsock>
264 #   SocketFile "/var/run/collectd-unixsock"
265 #   SocketGroup "collectd"
266 #   SocketPerms "0660"
267 #</Plugin>